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.
This commit is contained in:
Matthias Clasen 2015-08-15 16:05:11 -04:00
parent 568def7a86
commit 0455e56517

View File

@ -12062,7 +12062,11 @@ static void
gtk_window_update_debugging (void) gtk_window_update_debugging (void)
{ {
if (inspector_window) 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 static void