summaryrefslogtreecommitdiff
path: root/tests/testsocket_common.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-12-22 19:10:43 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-22 19:10:43 +0000
commit721c3bc10182cacf1a98baddde3c94e59797ddb7 (patch)
tree78b2e3ae3c00133a58f09653aff664e4ab0305e9 /tests/testsocket_common.c
parent7854bd1b6e6102aff426bf6a48606c4a9b12b7c2 (diff)
downloadgtk+-721c3bc10182cacf1a98baddde3c94e59797ddb7.tar.gz
Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
Diffstat (limited to 'tests/testsocket_common.c')
-rw-r--r--tests/testsocket_common.c2
1 files changed, 1 insertions, 1 deletions
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));