summaryrefslogtreecommitdiff
path: root/tests/testtreeflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testtreeflow.c')
-rw-r--r--tests/testtreeflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index 1af0b6e72c..e5ebacd899 100644
--- a/tests/testtreeflow.c
+++ b/tests/testtreeflow.c
@@ -168,7 +168,7 @@ main (int argc, char *argv[])
g_signal_connect (button, "realize", G_CALLBACK (gtk_widget_grab_focus), NULL);
gtk_window_set_default_size (GTK_WINDOW (window), 300, 400);
gtk_widget_show_all (window);
- g_timeout_add (1000, (GSourceFunc) futz, NULL);
+ gdk_threads_add_timeout (1000, (GSourceFunc) futz, NULL);
gtk_main ();
return 0;
}