[gtk+] inspector: Drop the style property list



commit af3789bb871eaf4d968fef8d066badd5cfb3c228
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 30 06:49:57 2015 -0400

    inspector: Drop the style property list
    
    Style properties are now shown for each CSS node in the
    CSS node tab, so we don't need a separate per-widget tab
    for this.

 gtk/inspector/Makefile.inc         |    3 -
 gtk/inspector/init.c               |    2 -
 gtk/inspector/style-prop-list.c    |  291 ------------------------------------
 gtk/inspector/style-prop-list.h    |   59 --------
 gtk/inspector/style-prop-list.ui   |  138 -----------------
 gtk/inspector/style-prop-list.ui.h |    3 -
 gtk/inspector/window.c             |    3 -
 gtk/inspector/window.ui            |    7 -
 8 files changed, 0 insertions(+), 506 deletions(-)
---
diff --git a/gtk/inspector/Makefile.inc b/gtk/inspector/Makefile.inc
index d133bd4..e34a805 100644
--- a/gtk/inspector/Makefile.inc
+++ b/gtk/inspector/Makefile.inc
@@ -23,7 +23,6 @@ inspector_c_sources =                         \
        inspector/signals-list.c        \
        inspector/size-groups.c         \
        inspector/statistics.c          \
-       inspector/style-prop-list.c     \
         inspector/strv-editor.c         \
        inspector/treewalk.c            \
        inspector/visual.c              \
@@ -53,7 +52,6 @@ inspector_h_sources =                         \
        inspector/signals-list.h        \
        inspector/size-groups.h         \
        inspector/statistics.h          \
-       inspector/style-prop-list.h     \
         inspector/strv-editor.h         \
        inspector/treewalk.h            \
        inspector/visual.h              \
@@ -75,6 +73,5 @@ inspector_templates =                 \
        inspector/selector.ui           \
        inspector/signals-list.ui       \
        inspector/statistics.ui         \
-       inspector/style-prop-list.ui    \
        inspector/visual.ui             \
        inspector/window.ui
diff --git a/gtk/inspector/init.c b/gtk/inspector/init.c
index 040497c..8e4c216 100644
--- a/gtk/inspector/init.c
+++ b/gtk/inspector/init.c
@@ -43,7 +43,6 @@
 #include "signals-list.h"
 #include "size-groups.h"
 #include "statistics.h"
-#include "style-prop-list.h"
 #include "visual.h"
 #include "window.h"
 
@@ -76,7 +75,6 @@ gtk_inspector_init (void)
   g_type_ensure (GTK_TYPE_INSPECTOR_SIGNALS_LIST);
   g_type_ensure (GTK_TYPE_INSPECTOR_SIZE_GROUPS);
   g_type_ensure (GTK_TYPE_INSPECTOR_STATISTICS);
-  g_type_ensure (GTK_TYPE_INSPECTOR_STYLE_PROP_LIST);
   g_type_ensure (GTK_TYPE_INSPECTOR_VISUAL);
   g_type_ensure (GTK_TYPE_INSPECTOR_WINDOW);
 
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index ed0a715..8bc52e7 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -35,7 +35,6 @@
 #include "object-tree.h"
 #include "selector.h"
 #include "size-groups.h"
-#include "style-prop-list.h"
 #include "data-list.h"
 #include "signals-list.h"
 #include "actions.h"
@@ -64,7 +63,6 @@ set_selected_object (GtkInspectorWindow *iw,
     return FALSE;
 
   gtk_inspector_prop_list_set_object (GTK_INSPECTOR_PROP_LIST (iw->child_prop_list), selected);
-  gtk_inspector_style_prop_list_set_object (GTK_INSPECTOR_STYLE_PROP_LIST (iw->style_prop_list), selected);
   gtk_inspector_signals_list_set_object (GTK_INSPECTOR_SIGNALS_LIST (iw->signals_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);
@@ -225,7 +223,6 @@ gtk_inspector_window_class_init (GtkInspectorWindowClass *klass)
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, prop_list);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, child_prop_list);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, signals_list);
-  gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, style_prop_list);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, widget_css_editor);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, widget_css_node_tree);
   gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, object_hierarchy);
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index ef05006..5eaafb8 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -306,13 +306,6 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkInspectorStylePropList" id="style_prop_list"/>
-                          <packing>
-                            <property name="name">style-properties</property>
-                            <property name="title" translatable="yes">Style Properties</property>
-                          </packing>
-                        </child>
-                        <child>
                           <object class="GtkInspectorCssNodeTree" id="widget_css_node_tree">
                             <property name="visible">True</property>
                           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]