forked from AuroraMiddleware/gtk
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:
parent
3ad8797068
commit
bda5a8214b
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user