]> Pileus Git - ~andy/gtk/blobdiff - tests/testcombochange.c
Replace a lot of idle and timeout calls by the new gdk_threads api.
[~andy/gtk] / tests / testcombochange.c
index b67b0f50feb54a4670c1d620f222fadd4b22827e..7e42cbca1423bf8f6cb3cb2c0b19f79fe2acb56c 100644 (file)
@@ -228,7 +228,7 @@ on_animate (void)
 {
   n_animations += 20;
  
-  timer = g_timeout_add (1000, (GSourceFunc) animation_timer, NULL);
+  timer = gdk_threads_add_timeout (1000, (GSourceFunc) animation_timer, NULL);
 }
 
 int