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.
This commit is contained in:
Matthias Clasen
2012-07-28 14:52:40 +02:00
parent 144a5687c9
commit 8d0e88bac7
11 changed files with 45 additions and 45 deletions

View File

@ -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;
}