[gtk/inspector-css] inspector: Fix showing the frame clock



commit 46c1e154f187ffc421ea5b17436369c5b477ee4a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed May 8 02:44:24 2019 +0000

    inspector: Fix showing the frame clock
    
    We want to go to the object, not just select it
    in the list (which does not even contain frame clocks).

 gtk/inspector/misc-info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/inspector/misc-info.c b/gtk/inspector/misc-info.c
index 44d37a5870..799838e8cb 100644
--- a/gtk/inspector/misc-info.c
+++ b/gtk/inspector/misc-info.c
@@ -180,7 +180,7 @@ show_object (GtkInspectorMiscInfo *sl,
              const gchar          *tab)
 {
   g_object_set_data_full (G_OBJECT (sl->priv->object_tree), "next-tab", g_strdup (tab), g_free);
-  gtk_inspector_object_tree_select_object (sl->priv->object_tree, object);
+  gtk_inspector_object_tree_activate_object (sl->priv->object_tree, object);
 }
 
 static void


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