Reviewed the threading handling of the pannable widget, we have used the gdk_threads_...
authorAlejandro G. Castro <alex@igalia.com>
Tue, 28 Oct 2008 12:07:28 +0000 (12:07 +0000)
committerAlejandro G. Castro <alex@igalia.com>
Tue, 28 Oct 2008 12:07:28 +0000 (12:07 +0000)
commit99c8bc3614a10d0e0b2b09f4774e02382c80414b
treeb67acea2491e1b6848ef523f587d8da85e4741e6
parentd63662a318f496250914ec638f0c776622653de0
Reviewed the threading handling of the pannable widget, we have used the gdk_threads_add_timeout function instead of the usual glib handlers. This avoids some problems with the threads.

* src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
(hildon_pannable_area_initial_effect),
(hildon_pannable_area_scroll_indicator_fade),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_timeout),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_area_scroll_cb),
(hildon_pannable_area_scroll_to): Removed the
GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
gdk_threads_add_timeout.

Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
ChangeLog
src/hildon-pannable-area.c