inspector: minor cleanup

This commit is contained in:
Matthias Clasen 2014-11-24 20:36:00 -05:00
parent 3a5d15358e
commit bef9d05812
2 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,6 @@ gtk_inspector_prop_list_init (GtkInspectorPropList *pl)
g_str_equal,
NULL,
(GDestroyNotify) gtk_tree_iter_free);
g_signal_connect (pl, "hierarchy-changed", G_CALLBACK (hierarchy_changed), NULL);
}
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_callback (widget_class, row_activated);
gtk_widget_class_bind_template_callback (widget_class, search_close_clicked);
gtk_widget_class_bind_template_callback (widget_class, hierarchy_changed);
}
static void

View File

@ -12,6 +12,7 @@
</object>
<template class="GtkInspectorPropList" parent="GtkBox">
<property name="orientation">vertical</property>
<signal name="hierarchy-changed" handler="hierarchy_changed"/>
<child>
<object class="GtkStack" id="search_stack">
<property name="visible">True</property>