From 721c3bc10182cacf1a98baddde3c94e59797ddb7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 22 Dec 2006 19:10:43 +0000 Subject: Replace a lot of idle and timeout calls by the new gdk_threads api. 2006-12-22 Matthias Clasen * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api. --- tests/testsocket_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testsocket_common.c') diff --git a/tests/testsocket_common.c b/tests/testsocket_common.c index a4760893da..0879865c8d 100644 --- a/tests/testsocket_common.c +++ b/tests/testsocket_common.c @@ -97,7 +97,7 @@ blink (GtkWidget *widget, if (!blink_timeout) { - blink_timeout = g_timeout_add (1000, blink_cb, window); + blink_timeout = gdk_threads_add_timeout (1000, blink_cb, window); gtk_widget_hide (window); g_object_set_data (G_OBJECT (window), "blink", GUINT_TO_POINTER (blink_timeout)); -- cgit v1.2.1