diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-07-28 14:52:40 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-07-30 18:01:47 +0200 |
commit | 8d0e88bac77c81bbe3e9ae62639bbc9629c195dd (patch) | |
tree | b6b4a836f1597c881fc466db66691a8f1f692a86 /gtk/gtktoolitemgroup.c | |
parent | 144a5687c9c5eae603ce7a105812daffed862fc1 (diff) | |
download | gtk+-8d0e88bac77c81bbe3e9ae62639bbc9629c195dd.tar.gz |
gtk: Don't use GDK_THREADS_ENTER/LEAVE macros internally
These are just wrappers for the functions, and we want to
deprecate them. Stopping to use them internally is a good
first step.
Diffstat (limited to 'gtk/gtktoolitemgroup.c')
-rw-r--r-- | gtk/gtktoolitemgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c index 82215716b6..b61e1a13ea 100644 --- a/gtk/gtktoolitemgroup.c +++ b/gtk/gtktoolitemgroup.c @@ -1861,7 +1861,7 @@ gtk_tool_item_group_animation_cb (gpointer data) gint64 timestamp = gtk_tool_item_group_get_animation_timestamp (group); gboolean retval; - GDK_THREADS_ENTER (); + gdk_threads_enter (); /* Enque this early to reduce number of expose events. */ gtk_widget_queue_resize_no_redraw (GTK_WIDGET (group)); @@ -1874,7 +1874,7 @@ gtk_tool_item_group_animation_cb (gpointer data) retval = (priv->animation_timeout != NULL); - GDK_THREADS_LEAVE (); + gdk_threads_leave (); return retval; } |