[gtk/inspector-tweaks: 3/7] inspector: Drop the class hierarchy page
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/inspector-tweaks: 3/7] inspector: Drop the class hierarchy page
- Date: Tue, 2 Apr 2019 23:37:59 +0000 (UTC)
commit 285e67c044d11e72f5fcc312b1d84ec547a072b3
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 2 21:50:09 2019 +0000
inspector: Drop the class hierarchy page
This was just not useful enough to keep around.
gtk/inspector/init.c | 2 -
gtk/inspector/meson.build | 1 -
gtk/inspector/object-hierarchy.c | 130 --------------------------------------
gtk/inspector/object-hierarchy.h | 59 -----------------
gtk/inspector/object-hierarchy.ui | 43 -------------
gtk/inspector/window.c | 3 -
gtk/inspector/window.ui | 9 ---
7 files changed, 247 deletions(-)
---
diff --git a/gtk/inspector/init.c b/gtk/inspector/init.c
index dd10edb34a..51360e7c1c 100644
--- a/gtk/inspector/init.c
+++ b/gtk/inspector/init.c
@@ -36,7 +36,6 @@
#include "magnifier.h"
#include "menu.h"
#include "misc-info.h"
-#include "object-hierarchy.h"
#include "object-tree.h"
#include "prop-list.h"
#include "recorder.h"
@@ -71,7 +70,6 @@ gtk_inspector_init (void)
g_type_ensure (GTK_TYPE_INSPECTOR_MAGNIFIER);
g_type_ensure (GTK_TYPE_INSPECTOR_MENU);
g_type_ensure (GTK_TYPE_INSPECTOR_MISC_INFO);
- g_type_ensure (GTK_TYPE_INSPECTOR_OBJECT_HIERARCHY);
g_type_ensure (GTK_TYPE_INSPECTOR_OBJECT_TREE);
g_type_ensure (GTK_TYPE_INSPECTOR_PROP_LIST);
g_type_ensure (GTK_TYPE_INSPECTOR_RECORDER);
diff --git a/gtk/inspector/meson.build b/gtk/inspector/meson.build
index 35b24c8de7..e0b740783a 100644
--- a/gtk/inspector/meson.build
+++ b/gtk/inspector/meson.build
@@ -20,7 +20,6 @@ inspector_sources = files(
'magnifier.c',
'menu.c',
'misc-info.c',
- 'object-hierarchy.c',
'object-tree.c',
'prop-editor.c',
'prop-list.c',
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index 716ca2e1e0..f58261dc07 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -32,7 +32,6 @@
#include "controllers.h"
#include "css-editor.h"
#include "css-node-tree.h"
-#include "object-hierarchy.h"
#include "object-tree.h"
#include "size-groups.h"
#include "data-list.h"
@@ -71,7 +70,6 @@ set_selected_object (GtkInspectorWindow *iw,
g_free (title);
gtk_inspector_prop_list_set_object (GTK_INSPECTOR_PROP_LIST (iw->child_prop_list), selected);
- gtk_inspector_object_hierarchy_set_object (GTK_INSPECTOR_OBJECT_HIERARCHY (iw->object_hierarchy),
selected);
gtk_inspector_misc_info_set_object (GTK_INSPECTOR_MISC_INFO (iw->misc_info), selected);
gtk_inspector_css_node_tree_set_object (GTK_INSPECTOR_CSS_NODE_TREE (iw->widget_css_node_tree), selected);
gtk_inspector_size_groups_set_object (GTK_INSPECTOR_SIZE_GROUPS (iw->size_groups), selected);
@@ -318,7 +316,6 @@ gtk_inspector_window_class_init (GtkInspectorWindowClass *klass)
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, child_prop_list);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, widget_css_node_tree);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, widget_recorder);
- gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, object_hierarchy);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, object_title);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, size_groups);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, data_list);
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index 3a77f55323..bf105b0f48 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -331,15 +331,6 @@
</property>
</object>
</child>
- <child>
- <object class="GtkStackPage">
- <property name="name">hierarchy</property>
- <property name="title" translatable="yes">Class Hierarchy</property>
- <property name="child">
- <object class="GtkInspectorObjectHierarchy" id="object_hierarchy"/>
- </property>
- </object>
- </child>
<child>
<object class="GtkStackPage">
<property name="name">css-nodes</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]