inspector: Drop app-menu support
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 May 2020 20:52:31 +0000 (16:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 May 2020 21:31:05 +0000 (17:31 -0400)
Don't add app menu to the object tree anymore;
this property is going away.

gtk/inspector/object-tree.c

index 0de34cf5836be09ccb467233a0010ec76f270993..361f246a5d28d816dc7d0520b2684a35e0051ca2 100644 (file)
@@ -452,7 +452,7 @@ object_tree_text_tag_table_get_children (GObject *object)
 static GListModel *
 object_tree_application_get_children (GObject *object)
 {
-  return list_model_for_properties (object, (const char *[3]) { "app-menu", "menubar", NULL });
+  return list_model_for_properties (object, (const char *[2]) { "menubar", NULL });
 }
 
 static GObject *