Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
This commit is contained in:
committed by
Matthias Clasen
parent
7854bd1b6e
commit
721c3bc101
@ -585,8 +585,8 @@ gtk_dial_update_mouse( GtkDial *dial, gint x, gint y )
|
||||
if (dial->timer)
|
||||
g_source_remove (dial->timer);
|
||||
|
||||
dial->timer = g_timeout_add (SCROLL_DELAY_LENGTH,
|
||||
(GtkFunction) gtk_dial_timer,
|
||||
dial->timer = gdk_threads_add_timeout (SCROLL_DELAY_LENGTH,
|
||||
(GSourceFunc) gtk_dial_timer,
|
||||
(gpointer) dial);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user