]> Pileus Git - ~andy/gtk/blobdiff - gdk/win32/gdkinput-win32.c
Replace a lot of idle and timeout calls by the new gdk_threads api.
[~andy/gtk] / gdk / win32 / gdkinput-win32.c
index c7bb9a3aa6ceb3ca276c949c3b2997c436ec6212..357037577d29765a2ade69465af375df9de37feb 100644 (file)
@@ -690,7 +690,7 @@ set_ignore_core (gboolean ignore)
     }
   else
     if (!ignore_core_timer)
-      ignore_core_timer = g_timeout_add (PROXIMITY_OUT_DELAY,
+      ignore_core_timer = gdk_threads_add_timeout (PROXIMITY_OUT_DELAY,
                                         ignore_core_timefunc, NULL);
 }
 #endif /* HAVE_WINTAB */