tests: Add prop editors to testtreeview

It tests treeviews, so we'd better be able to edit them :)
This commit is contained in:
Benjamin Otte
2011-11-24 18:07:23 +01:00
parent 9011bf9e3b
commit a63b6cc7f1

View File

@ -792,6 +792,9 @@ main (int argc,
gtk_container_add (GTK_CONTAINER (sw), tv); gtk_container_add (GTK_CONTAINER (sw), tv);
create_prop_editor (G_OBJECT (tv), GTK_TYPE_TREE_VIEW);
create_prop_editor (G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (tv))), GTK_TYPE_TREE_SELECTION);
gtk_widget_show_all (window); gtk_widget_show_all (window);
gtk_main (); gtk_main ();