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.
This commit is contained in:
Matthias Clasen 2019-06-16 22:45:17 -04:00
parent 3ad8797068
commit bda5a8214b

View File

@ -955,7 +955,6 @@ search (GtkInspectorObjectTree *wt,
result = search_children (child, text, forward); result = search_children (child, text, forward);
if (result) if (result)
{ {
g_print ("selecting!\n");
gtk_inspector_object_tree_select_object (wt, result); gtk_inspector_object_tree_select_object (wt, result);
g_object_unref (result); g_object_unref (result);
g_object_unref (child); g_object_unref (child);
@ -1145,7 +1144,6 @@ create_root_model (void)
g_object_unref); g_object_unref);
gtk_filter_list_model_set_model (filter, gtk_window_get_toplevels ()); gtk_filter_list_model_set_model (filter, gtk_window_get_toplevels ());
g_list_store_append (list, filter); g_list_store_append (list, filter);
g_list_store_append (list, gtk_popover_get_popovers ());
g_object_unref (filter); g_object_unref (filter);
flatten = gtk_flatten_list_model_new (G_TYPE_OBJECT, G_LIST_MODEL (list)); flatten = gtk_flatten_list_model_new (G_TYPE_OBJECT, G_LIST_MODEL (list));