[gtk: 39/40] icon-theme: Add icon theme name in profiler mark



commit 09ef67afbc965772b5703f6452a63b8846f1d4a7
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Jan 30 18:22:11 2020 +0100

    icon-theme: Add icon theme name in profiler mark

 gtk/gtkicontheme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 2d04f8684b..d437094063 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]