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/gtktreeview.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/gtktreeview.c')
-rw-r--r-- | gtk/gtktreeview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index bf2c1b19d8..9bec668fd8 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -6922,6 +6922,7 @@ install_presize_handler (GtkTreeView *tree_view) { tree_view->priv->validate_rows_timer = gdk_threads_add_idle_full (GTK_TREE_VIEW_PRIORITY_VALIDATE, (GSourceFunc) validate_rows, tree_view, NULL); + g_source_set_name_by_id (tree_view->priv->validate_rows_timer, "[gtk+] validate_rows"); } } @@ -6950,6 +6951,7 @@ install_scroll_sync_handler (GtkTreeView *tree_view) { tree_view->priv->scroll_sync_timer = gdk_threads_add_idle_full (GTK_TREE_VIEW_PRIORITY_SCROLL_SYNC, (GSourceFunc) scroll_sync_handler, tree_view, NULL); + g_source_set_name_by_id (tree_view->priv->scroll_sync_timer, "[gtk+] scroll_sync_handler"); } } |