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/a11y | |
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/a11y')
-rw-r--r-- | gtk/a11y/gtkaccessibility.c | 1 | ||||
-rw-r--r-- | gtk/a11y/gtkiconviewaccessible.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gtk/a11y/gtkaccessibility.c b/gtk/a11y/gtkaccessibility.c index 1238b4f02b..5f2e4942a9 100644 --- a/gtk/a11y/gtkaccessibility.c +++ b/gtk/a11y/gtkaccessibility.c @@ -603,6 +603,7 @@ gail_focus_notify_when_idle (GtkWidget *widget) } focus_notify_handler = gdk_threads_add_idle (gail_focus_idle_handler, widget); + g_source_set_name_by_id (focus_notify_handler, "[gtk+] gail_focus_idle_handler"); } static gboolean diff --git a/gtk/a11y/gtkiconviewaccessible.c b/gtk/a11y/gtkiconviewaccessible.c index 82c50f931d..a6468705bf 100644 --- a/gtk/a11y/gtkiconviewaccessible.c +++ b/gtk/a11y/gtkiconviewaccessible.c @@ -112,7 +112,10 @@ gtk_icon_view_item_accessible_do_action (AtkAction *action, return FALSE; if (!item->action_idle_handler) - item->action_idle_handler = gdk_threads_add_idle (idle_do_action, item); + { + item->action_idle_handler = gdk_threads_add_idle (idle_do_action, item); + g_source_set_name_by_id (item->action_idle_handler, "[gtk+] idle_do_action"); + } return TRUE; } |