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
@@ -417,7 +417,7 @@ main (int argc, char *argv[])
|
||||
gtk_entry_completion_set_text_column (completion, 0);
|
||||
|
||||
/* Fill the completion dynamically */
|
||||
g_timeout_add (1000, (GSourceFunc) animation_timer, completion);
|
||||
gdk_threads_add_timeout (1000, (GSourceFunc) animation_timer, completion);
|
||||
|
||||
/* Fourth entry */
|
||||
gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Model-less entry completion"), FALSE, FALSE, 0);
|
||||
|
||||
Reference in New Issue
Block a user