[gtk+] window: Set name on idle
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: Set name on idle
- Date: Sun, 16 Aug 2015 00:18:11 +0000 (UTC)
commit 0455e565171db938793d5d874d3a855335d04d7a
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 15 16:05:11 2015 -0400
window: Set name on idle
Use gdk_threads_add_idle, and set a name on the source to aid
debugging, as we do everywhere else.
gtk/gtkwindow.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 4e96d6f..0367c90 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -12062,7 +12062,11 @@ static void
gtk_window_update_debugging (void)
{
if (inspector_window)
- g_idle_add (update_debugging, NULL);
+ {
+ guint id;
+ id = gdk_threads_add_idle (update_debugging, NULL);
+ g_source_set_name_by_id (id, "[gtk+] gtk_window_update_debugging");
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]