inspector: minor cleanup
This commit is contained in:
parent
3a5d15358e
commit
bef9d05812
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user