diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-03-22 12:44:01 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-03-26 20:09:30 -0400 |
commit | f71f7215ab31a85bdcc124b1ac6d6c9ca8a6acf1 (patch) | |
tree | 60eaf90866b9c3485115452b2d133f6b986e9bd8 /gtk/gtktoolbar.c | |
parent | 454c485ebe9b2d262d2e84d1f16b86c00980e5b9 (diff) | |
download | gtk+-f71f7215ab31a85bdcc124b1ac6d6c9ca8a6acf1.tar.gz |
all: Name more idles and timeouts
Following up from 438cd857c49242244dda2923ac447f36464b9e72,
name more timeouts and idles.
The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).
https://bugzilla.gnome.org/show_bug.cgi?id=726870
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index c4e55819a1..c5729248fb 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -1282,7 +1282,10 @@ gtk_toolbar_begin_sliding (GtkToolbar *toolbar) priv->is_sliding = TRUE; if (!priv->idle_id) - priv->idle_id = gdk_threads_add_idle (slide_idle_handler, toolbar); + { + priv->idle_id = gdk_threads_add_idle (slide_idle_handler, toolbar); + g_source_set_name_by_id (priv->idle_id, "[gtk+] slide_idle_handler"); + } gtk_widget_get_allocation (widget, &allocation); |