From 3da3cb35a65ae5352cdc430e481e3e77ac9c8e3c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 21 Jun 2022 02:32:33 +0200 Subject: [PATCH] object-tree: Allow inspecting inspectors We filter by display, so the inspector window should show up only when inspecting the inspector. --- gtk/inspector/object-tree.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/inspector/object-tree.c b/gtk/inspector/object-tree.c index 34a7406683..1c5f022925 100644 --- a/gtk/inspector/object-tree.c +++ b/gtk/inspector/object-tree.c @@ -1136,9 +1136,6 @@ toplevel_filter_func (gpointer item, if (!GTK_IS_WINDOW (item)) return FALSE; - if (g_str_equal (G_OBJECT_TYPE_NAME (item), "GtkInspectorWindow")) - return FALSE; - return gtk_widget_get_display (item) == display; }