]> Pileus Git - ~andy/gtk/blobdiff - tests/stresstest-toolbar.c
Replace a lot of idle and timeout calls by the new gdk_threads api.
[~andy/gtk] / tests / stresstest-toolbar.c
index 74fbcbf470a4aa5203a862fe314ed7601fc2f1dd..17a59f246496337993a5a233c69c27200c2c26ab 100644 (file)
@@ -137,7 +137,7 @@ main (gint argc, gchar **argv)
 
   gtk_widget_show (GTK_WIDGET (info.window));
   
-  g_idle_add (stress_test_old_api, &info);
+  gdk_threads_add_idle (stress_test_old_api, &info);
 
   gtk_widget_show_all (GTK_WIDGET (info.window));