Fixed memory leak of the event window of the pannable.
authorAlejandro G. Castro <alex@igalia.com>
Tue, 11 Aug 2009 08:41:21 +0000 (10:41 +0200)
committerAlejandro G. Castro <alex@igalia.com>
Tue, 11 Aug 2009 08:41:21 +0000 (10:41 +0200)
commit777a6bf13118bfbb3bacdeee1a80d48387dd6f12
tree8c2b8dab89e5d705c7812d9fb89f73c5e940ced3
parent8893d86bce448508554a8803011d183b252728b7
Fixed memory leak of the event window of the pannable.

* hildon/hildon-pannable-area.c
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_button_release_cb): Added unrefs to reduce
the spurious ref added in the copy, fixes leak of window.

Fixes: NB#130900 (HildonPannableArea will leak it's event_window
if it's realized without showing and then deleted)
ChangeLog
hildon/hildon-pannable-area.c