inspector: minor cleanup
This commit is contained in:
@ -217,8 +217,6 @@ gtk_inspector_prop_list_init (GtkInspectorPropList *pl)
|
|||||||
g_str_equal,
|
g_str_equal,
|
||||||
NULL,
|
NULL,
|
||||||
(GDestroyNotify) gtk_tree_iter_free);
|
(GDestroyNotify) gtk_tree_iter_free);
|
||||||
|
|
||||||
g_signal_connect (pl, "hierarchy-changed", G_CALLBACK (hierarchy_changed), NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -374,6 +372,7 @@ gtk_inspector_prop_list_class_init (GtkInspectorPropListClass *klass)
|
|||||||
gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorPropList, object_title);
|
gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorPropList, object_title);
|
||||||
gtk_widget_class_bind_template_callback (widget_class, row_activated);
|
gtk_widget_class_bind_template_callback (widget_class, row_activated);
|
||||||
gtk_widget_class_bind_template_callback (widget_class, search_close_clicked);
|
gtk_widget_class_bind_template_callback (widget_class, search_close_clicked);
|
||||||
|
gtk_widget_class_bind_template_callback (widget_class, hierarchy_changed);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<template class="GtkInspectorPropList" parent="GtkBox">
|
<template class="GtkInspectorPropList" parent="GtkBox">
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
|
<signal name="hierarchy-changed" handler="hierarchy_changed"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="search_stack">
|
<object class="GtkStack" id="search_stack">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user