mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
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