inspector: Add GtkTreeSelection to the object tree

It is not accessible, otherwise.
This commit is contained in:
Matthias Clasen 2014-08-03 01:28:23 +02:00
parent 25721ae3e7
commit d7850e8be0

View File

@ -377,6 +377,10 @@ gtk_inspector_widget_tree_append_object (GtkInspectorWidgetTree *wt,
if (child)
gtk_inspector_widget_tree_append_object (wt, child, &iter, "model");
child = G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (object)));
if (child)
gtk_inspector_widget_tree_append_object (wt, child, &iter, "selection");
n_columns = gtk_tree_view_get_n_columns (GTK_TREE_VIEW (object));
for (i = 0; i < n_columns; i++)
{