icon-theme: Add icon theme name in profiler mark

This commit is contained in:
Alexander Larsson 2020-01-30 18:22:11 +01:00
parent d478ae1ef5
commit 09ef67afbc

View 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);