[gtk] window: Rename a profiler mark



commit 119457279b772454fa656bab0859f37e46767ba2
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 22 15:10:35 2020 -0500

    window: Rename a profiler mark
    
    The "layout" name was already taken for the frame clock
    phase by that name. Oops.

 gtk/gtkwindow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index ec74cbb30f..dbdff29526 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6316,7 +6316,7 @@ gtk_window_check_resize (GtkWindow *self)
   if (gdk_profiler_is_running ())
     {
       gint64 after = g_get_monotonic_time ();
-      gdk_profiler_add_mark (before * 1000, (after - before) * 1000, "layout", "");
+      gdk_profiler_add_mark (before * 1000, (after - before) * 1000, "size allocation", "");
     }
 }
 


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