icon-theme: Add icon theme name in profiler mark
authorAlexander Larsson <alexl@redhat.com>
Thu, 30 Jan 2020 17:22:11 +0000 (18:22 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 30 Jan 2020 17:22:11 +0000 (18:22 +0100)
gtk/gtkicontheme.c

index 2d04f8684bed70869a00e9bcf8b71f88e50b4c69..d43709406373b45e449082572955c293565a0c7c 100644 (file)
@@ -1800,7 +1800,7 @@ ensure_valid_themes (GtkIconTheme *self,
       load_themes (self);
 
       if (gdk_profiler_is_running ())
-        gdk_profiler_add_mark (before * 1000, (g_get_monotonic_time () - before) * 1000, "icon theme load", NULL);
+        gdk_profiler_add_mark (before * 1000, (g_get_monotonic_time () - before) * 1000, "icon theme load", self->current_theme);
 
       if (was_valid)
         queue_theme_changed (self);