[gtk+] inspector: Drop the style classes list
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Drop the style classes list
- Date: Fri, 30 Oct 2015 11:05:00 +0000 (UTC)
commit 91af42263bd5a218d25fec087c35a68498b47f67
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 30 06:37:27 2015 -0400
inspector: Drop the style classes list
Style classes can now be added/removed 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/classes-list.c | 328 ---------------------------------------
gtk/inspector/classes-list.h | 59 -------
gtk/inspector/classes-list.ui | 106 -------------
gtk/inspector/classes-list.ui.h | 3 -
gtk/inspector/init.c | 2 -
gtk/inspector/window.c | 3 -
gtk/inspector/window.ui | 7 -
8 files changed, 0 insertions(+), 511 deletions(-)
---
diff --git a/gtk/inspector/Makefile.inc b/gtk/inspector/Makefile.inc
index ce4efef..d133bd4 100644
--- a/gtk/inspector/Makefile.inc
+++ b/gtk/inspector/Makefile.inc
@@ -2,7 +2,6 @@ inspector_c_sources = \
inspector/action-editor.c \
inspector/actions.c \
inspector/cellrenderergraph.c \
- inspector/classes-list.c \
inspector/css-editor.c \
inspector/css-node-tree.c \
inspector/data-list.c \
@@ -34,7 +33,6 @@ inspector_h_sources = \
inspector/action-editor.h \
inspector/actions.h \
inspector/cellrenderergraph.h \
- inspector/classes-list.h \
inspector/css-editor.h \
inspector/css-node-tree.h \
inspector/data-list.h \
@@ -63,7 +61,6 @@ inspector_h_sources = \
inspector_templates = \
inspector/actions.ui \
- inspector/classes-list.ui \
inspector/css-editor.ui \
inspector/css-node-tree.ui \
inspector/data-list.ui \
diff --git a/gtk/inspector/init.c b/gtk/inspector/init.c
index ed8180e..040497c 100644
--- a/gtk/inspector/init.c
+++ b/gtk/inspector/init.c
@@ -26,7 +26,6 @@
#include "actions.h"
#include "cellrenderergraph.h"
-#include "classes-list.h"
#include "css-editor.h"
#include "css-node-tree.h"
#include "data-list.h"
@@ -60,7 +59,6 @@ gtk_inspector_init (void)
g_type_ensure (GTK_TYPE_CELL_RENDERER_GRAPH);
g_type_ensure (GTK_TYPE_GRAPH_DATA);
g_type_ensure (GTK_TYPE_INSPECTOR_ACTIONS);
- g_type_ensure (GTK_TYPE_INSPECTOR_CLASSES_LIST);
g_type_ensure (GTK_TYPE_INSPECTOR_CSS_EDITOR);
g_type_ensure (GTK_TYPE_INSPECTOR_CSS_NODE_TREE);
g_type_ensure (GTK_TYPE_INSPECTOR_DATA_LIST);
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index 2c9ec5f..ed0a715 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -29,7 +29,6 @@
#include "window.h"
#include "prop-list.h"
-#include "classes-list.h"
#include "css-editor.h"
#include "css-node-tree.h"
#include "object-hierarchy.h"
@@ -70,7 +69,6 @@ set_selected_object (GtkInspectorWindow *iw,
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_classes_list_set_object (GTK_INSPECTOR_CLASSES_LIST (iw->classes_list), selected);
gtk_inspector_css_editor_set_object (GTK_INSPECTOR_CSS_EDITOR (iw->widget_css_editor), 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);
@@ -227,7 +225,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, classes_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);
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index f01dc7c..ef05006 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -306,13 +306,6 @@
</packing>
</child>
<child>
- <object class="GtkInspectorClassesList" id="classes_list"/>
- <packing>
- <property name="name">css-classes</property>
- <property name="title" translatable="yes">Style Classes</property>
- </packing>
- </child>
- <child>
<object class="GtkInspectorStylePropList" id="style_prop_list"/>
<packing>
<property name="name">style-properties</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]