emoji chooser: Name the idle
authorMatthias Clasen <mclasen@redhat.com>
Tue, 7 May 2019 18:41:22 +0000 (18:41 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 7 May 2019 18:41:22 +0000 (18:41 +0000)
We recently added an idle that does quite a bit of work.
It should have a name.

gtk/gtkemojichooser.c

index bd3760d8bfc578360d3181f7d78e19ea6c932859..10eee9ad787ad7176152986da7a6135fee430021 100644 (file)
@@ -686,6 +686,7 @@ gtk_emoji_chooser_init (GtkEmojiChooser *chooser)
   populate_recent_section (chooser);
 
   chooser->populate_idle = g_idle_add (populate_emoji_chooser, chooser);
+  g_source_set_name_by_id (chooser->populate_idle, "[gtk] populate_emoji_chooser");
 }
 
 static void