forked from AuroraMiddleware/gtk
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:
parent
568def7a86
commit
0455e56517
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user