[gtk/inspector-tweaks: 2/7] inspector: Drop the css selector page



commit d7987e73c99b6bfba65abc1fd578bc501ae881fc
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 2 21:47:02 2019 +0000

    inspector: Drop the css selector page
    
    This was just not useful enough to keep around.

 gtk/inspector/init.c      |   2 -
 gtk/inspector/meson.build |   1 -
 gtk/inspector/selector.c  | 100 ----------------------------------------------
 gtk/inspector/selector.h  |  59 ---------------------------
 gtk/inspector/selector.ui |  43 --------------------
 gtk/inspector/window.c    |   3 --
 gtk/inspector/window.ui   |   9 -----
 7 files changed, 217 deletions(-)
---
diff --git a/gtk/inspector/init.c b/gtk/inspector/init.c
index 6e413861c0..dd10edb34a 100644
--- a/gtk/inspector/init.c
+++ b/gtk/inspector/init.c
@@ -41,7 +41,6 @@
 #include "prop-list.h"
 #include "recorder.h"
 #include "resource-list.h"
-#include "selector.h"
 #include "size-groups.h"
 #include "statistics.h"
 #include "visual.h"
@@ -77,7 +76,6 @@ gtk_inspector_init (void)
   g_type_ensure (GTK_TYPE_INSPECTOR_PROP_LIST);
   g_type_ensure (GTK_TYPE_INSPECTOR_RECORDER);
   g_type_ensure (GTK_TYPE_INSPECTOR_RESOURCE_LIST);
-  g_type_ensure (GTK_TYPE_INSPECTOR_SELECTOR);
   g_type_ensure (GTK_TYPE_INSPECTOR_SIZE_GROUPS);
   g_type_ensure (GTK_TYPE_INSPECTOR_STATISTICS);
   g_type_ensure (GTK_TYPE_INSPECTOR_VISUAL);
diff --git a/gtk/inspector/meson.build b/gtk/inspector/meson.build
index 2c6b6d0e71..35b24c8de7 100644
--- a/gtk/inspector/meson.build
+++ b/gtk/inspector/meson.build
@@ -28,7 +28,6 @@ inspector_sources = files(
   'recording.c',
   'renderrecording.c',
   'resource-list.c',
-  'selector.c',
   'size-groups.c',
   'startrecording.c',
   'statistics.c',
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index ef73340995..716ca2e1e0 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -34,7 +34,6 @@
 #include "css-node-tree.h"
 #include "object-hierarchy.h"
 #include "object-tree.h"
-#include "selector.h"
 #include "size-groups.h"
 #include "data-list.h"
 #include "actions.h"
@@ -73,7 +72,6 @@ set_selected_object (GtkInspectorWindow *iw,
 
   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_selector_set_object (GTK_INSPECTOR_SELECTOR (iw->selector), 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);
@@ -322,7 +320,6 @@ gtk_inspector_window_class_init (GtkInspectorWindowClass *klass)
   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, selector);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, size_groups);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, data_list);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, actions);
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index 1ad9d9fa5e..3a77f55323 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -340,15 +340,6 @@
                                 </property>
                               </object>
                             </child>
-                            <child>
-                              <object class="GtkStackPage">
-                                <property name="name">selector</property>
-                                <property name="title" translatable="yes">CSS Selector</property>
-                                <property name="child">
-                                  <object class="GtkInspectorSelector" id="selector"/>
-                                </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]