]> Pileus Git - ~andy/gtk/blobdiff - demos/testanimation.c
Replace a lot of idle and timeout calls by the new gdk_threads api.
[~andy/gtk] / demos / testanimation.c
index 5b2da4a228bb55e0ed233e20abd38702d94c0d19..029f69c9b79a8651171ad1eea761a58be256ab84 100644 (file)
@@ -301,7 +301,7 @@ start_progressive_loading (GtkWidget *image)
    * The timeout simply simulates a slow data source by inserting
    * pauses in the reading process.
    */
-  lc->load_timeout = g_timeout_add (100,
+  lc->load_timeout = gdk_threads_add_timeout (100,
                                     progressive_timeout,
                                     image);
 }