summaryrefslogtreecommitdiff
path: root/tests/treestoretest.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-08-27 19:42:08 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-08-27 19:42:08 +0000
commit5d9166f15bb4ebd07ed2269079b4f367475bbde7 (patch)
tree3fd8b14f68c1a35f431ecca2873c490a883c040d /tests/treestoretest.c
parent892496c8e70aaad8c40549033c01fd0d5ea16033 (diff)
downloadgtk+-5d9166f15bb4ebd07ed2269079b4f367475bbde7.tar.gz
Fix to use GtkSelectionMode. ditto ditto ditto.
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com> * tests/testtreefocus.c (main): Fix to use GtkSelectionMode. * tests/treestoretest.c (make_window): ditto * demos/gtk-demo/main.c (create_tree): ditto * demos/gtk-demo/stock_browser.c (do_stock_browser): ditto.
Diffstat (limited to 'tests/treestoretest.c')
-rw-r--r--tests/treestoretest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/treestoretest.c b/tests/treestoretest.c
index 700669aaad..83adcd2d5f 100644
--- a/tests/treestoretest.c
+++ b/tests/treestoretest.c
@@ -249,7 +249,7 @@ make_window (gint view_type)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree_view), TRUE);
selection = G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)));
- gtk_tree_selection_set_mode (GTK_TREE_SELECTION (selection), GTK_TREE_SELECTION_SINGLE);
+ gtk_tree_selection_set_mode (GTK_TREE_SELECTION (selection), GTK_SELECTION_SINGLE);
/* Put them together */
gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view);