summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-11-24 18:07:23 +0100
committerBenjamin Otte <otte@redhat.com>2011-11-24 18:29:45 +0100
commita63b6cc7f1548df6bb39556430b9af7960a7fd62 (patch)
treec1ebbe20f77088098643c3d5aff4e85791445bcc /tests
parent9011bf9e3bd3fa08126c826a48532d81e7e44665 (diff)
downloadgtk+-a63b6cc7f1548df6bb39556430b9af7960a7fd62.tar.gz
tests: Add prop editors to testtreeview
It tests treeviews, so we'd better be able to edit them :)
Diffstat (limited to 'tests')
-rw-r--r--tests/testtreeview.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index cbbe9abb9d..d9d80ceb8b 100644
--- a/tests/testtreeview.c
+++ b/tests/testtreeview.c
@@ -792,6 +792,9 @@ main (int argc,
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_main ();