summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-08 02:44:24 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-08 02:44:24 +0000
commit46c1e154f187ffc421ea5b17436369c5b477ee4a (patch)
tree876c1966229895ca13b19ff099f2f0bba0ab4665
parent4cc27285b16a53e1cc4c72703a16c701b5d0c1ee (diff)
downloadgtk+-46c1e154f187ffc421ea5b17436369c5b477ee4a.tar.gz
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).
-rw-r--r--gtk/inspector/misc-info.c2
1 files changed, 1 insertions, 1 deletions
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