summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/treestoretest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/treestoretest.c b/tests/treestoretest.c
index 0601922ec2..2202a92fcb 100644
--- a/tests/treestoretest.c
+++ b/tests/treestoretest.c
@@ -238,7 +238,7 @@ make_window (gboolean use_sort)
}
selection = GTK_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)));
- gtk_tree_selection_set_type (GTK_TREE_SELECTION (selection), GTK_TREE_SELECTION_SINGLE);
+ gtk_tree_selection_set_mode (GTK_TREE_SELECTION (selection), GTK_TREE_SELECTION_SINGLE);
/* Put them together */
gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view);