summaryrefslogtreecommitdiff
path: root/demos/pixbuf-demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/pixbuf-demo.c')
-rw-r--r--demos/pixbuf-demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/pixbuf-demo.c b/demos/pixbuf-demo.c
index eaacf83f59..dd6923bbcc 100644
--- a/demos/pixbuf-demo.c
+++ b/demos/pixbuf-demo.c
@@ -225,7 +225,7 @@ main (int argc, char **argv)
gtk_container_add (GTK_CONTAINER (window), da);
- timeout_id = g_timeout_add (FRAME_DELAY, timeout, NULL);
+ timeout_id = gdk_threads_add_timeout (FRAME_DELAY, timeout, NULL);
gtk_widget_show_all (window);
gtk_main ();