summaryrefslogtreecommitdiff
path: root/demos/testpixbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/testpixbuf.c')
-rw-r--r--demos/testpixbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c
index 676171bb43..84011004a9 100644
--- a/demos/testpixbuf.c
+++ b/demos/testpixbuf.c
@@ -628,7 +628,7 @@ main (int argc, char **argv)
status.readlen = readlen;
- status.timeout = g_timeout_add (100, update_timeout, &status);
+ status.timeout = gdk_threads_add_timeout (100, update_timeout, &status);
}
#endif
}