From bda5a8214b8ba542292b97b50b6a7d95b3085b3e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 16 Jun 2019 22:45:17 -0400 Subject: [PATCH] inspector: Don't duplicate popovers Popovers are now regular children in the widget tree, no need to duplicate them as toplevels in the object tree. --- gtk/inspector/object-tree.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/inspector/object-tree.c b/gtk/inspector/object-tree.c index add00197b3..efaed00d2b 100644 --- a/gtk/inspector/object-tree.c +++ b/gtk/inspector/object-tree.c @@ -955,7 +955,6 @@ search (GtkInspectorObjectTree *wt, result = search_children (child, text, forward); if (result) { - g_print ("selecting!\n"); gtk_inspector_object_tree_select_object (wt, result); g_object_unref (result); g_object_unref (child); @@ -1145,7 +1144,6 @@ create_root_model (void) g_object_unref); gtk_filter_list_model_set_model (filter, gtk_window_get_toplevels ()); g_list_store_append (list, filter); - g_list_store_append (list, gtk_popover_get_popovers ()); g_object_unref (filter); flatten = gtk_flatten_list_model_new (G_TYPE_OBJECT, G_LIST_MODEL (list));