[gtk/inspector-tweaks: 1/7] inspector: Drop the signals page
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/inspector-tweaks: 1/7] inspector: Drop the signals page
- Date: Tue, 2 Apr 2019 23:37:49 +0000 (UTC)
commit e13a8102b4114a87374868e887dca4905476e3c3
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 2 21:39:47 2019 +0000
inspector: Drop the signals page
This was just not useful enough to keep around.
gtk/inspector/init.c | 2 -
gtk/inspector/meson.build | 1 -
gtk/inspector/signals-list.c | 425 ------------------------------------------
gtk/inspector/signals-list.h | 54 ------
gtk/inspector/signals-list.ui | 99 ----------
gtk/inspector/window.c | 3 -
gtk/inspector/window.ui | 37 ----
7 files changed, 621 deletions(-)
---
diff --git a/gtk/inspector/init.c b/gtk/inspector/init.c
index 049126f401..6e413861c0 100644
--- a/gtk/inspector/init.c
+++ b/gtk/inspector/init.c
@@ -42,7 +42,6 @@
#include "recorder.h"
#include "resource-list.h"
#include "selector.h"
-#include "signals-list.h"
#include "size-groups.h"
#include "statistics.h"
#include "visual.h"
@@ -79,7 +78,6 @@ gtk_inspector_init (void)
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_SIGNALS_LIST);
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 a134f8f278..2c6b6d0e71 100644
--- a/gtk/inspector/meson.build
+++ b/gtk/inspector/meson.build
@@ -29,7 +29,6 @@ inspector_sources = files(
'renderrecording.c',
'resource-list.c',
'selector.c',
- 'signals-list.c',
'size-groups.c',
'startrecording.c',
'statistics.c',
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index 3dc4475742..ef73340995 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -37,7 +37,6 @@
#include "selector.h"
#include "size-groups.h"
#include "data-list.h"
-#include "signals-list.h"
#include "actions.h"
#include "menu.h"
#include "misc-info.h"
@@ -73,7 +72,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_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);
gtk_inspector_misc_info_set_object (GTK_INSPECTOR_MISC_INFO (iw->misc_info), selected);
@@ -320,7 +318,6 @@ gtk_inspector_window_class_init (GtkInspectorWindowClass *klass)
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, select_object);
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, 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);
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index 923f5b9905..1ad9d9fa5e 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -229,31 +229,6 @@
</property>
</object>
</child>
- <child>
- <object class="GtkStackPage">
- <property name="name">signals</property>
- <property name="child">
- <object class="GtkBox">
- <property name="spacing">6</property>
- <property name="margin">6</property>
- <child>
- <object class="GtkToggleButton" id="signals_trace_button">
- <property name="relief">none</property>
- <property name="tooltip-text" translatable="yes">Trace
signal emissions on this object</property>
- <property name="icon-name">media-record-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="signals_clear_button">
- <property name="relief">none</property>
- <property name="tooltip-text" translatable="yes">Clear
log</property>
- <property name="icon-name">edit-clear-symbolic</property>
- </object>
- </child>
- </object>
- </property>
- </object>
- </child>
<child>
<object class="GtkStackPage">
<property name="name">magnifier</property>
@@ -343,18 +318,6 @@
</property>
</object>
</child>
- <child>
- <object class="GtkStackPage">
- <property name="name">signals</property>
- <property name="title" translatable="yes">Signals</property>
- <property name="child">
- <object class="GtkInspectorSignalsList" id="signals_list">
- <property name="trace-button">signals_trace_button</property>
- <property name="clear-button">signals_clear_button</property>
- </object>
- </property>
- </object>
- </child>
<child>
<object class="GtkStackPage">
<property name="name">child-properties</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]