]> Pileus Git - ~andy/gtk/blobdiff - modules/input/gtkimcontextmultipress.c
modules: Don't use GDK_THREADS_ENTER/LEAVE macros internally
[~andy/gtk] / modules / input / gtkimcontextmultipress.c
index 57406cf3556c0ae905beacb550b4c405b99b17e7..7fb484a07ceddf0aee42403c77b52449f68d94d8 100644 (file)
@@ -197,7 +197,7 @@ on_timeout (gpointer data)
 {
   GtkImContextMultipress *multipress_context;
 
-  GDK_THREADS_ENTER ();
+  gdk_threads_enter ();
 
   multipress_context = GTK_IM_CONTEXT_MULTIPRESS (data);
 
@@ -207,7 +207,7 @@ on_timeout (gpointer data)
 
   multipress_context->timeout_id = 0;
 
-  GDK_THREADS_LEAVE ();
+  gdk_threads_leave ();
 
   return G_SOURCE_REMOVE; /* don't call me again */
 }