summaryrefslogtreecommitdiff
path: root/tests/stresstest-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stresstest-toolbar.c')
-rw-r--r--tests/stresstest-toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stresstest-toolbar.c b/tests/stresstest-toolbar.c
index 74fbcbf470..17a59f2464 100644
--- a/tests/stresstest-toolbar.c
+++ b/tests/stresstest-toolbar.c
@@ -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));