[gtk/wip/otte/inspector-inspector: 2/3] object-tree: Allow inspecting inspectors
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/inspector-inspector: 2/3] object-tree: Allow inspecting inspectors
- Date: Tue, 21 Jun 2022 00:35:46 +0000 (UTC)
commit 3da3cb35a65ae5352cdc430e481e3e77ac9c8e3c
Author: Benjamin Otte <otte redhat com>
Date: Tue Jun 21 02:32:33 2022 +0200
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]