summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@src.gnome.org>2001-08-21 06:59:55 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-08-21 06:59:55 +0000
commitce46c83ab88c932aa2e42089f0afaeb8bb60b3f1 (patch)
treea71e3f089de965c4adf3cb60f15c4297b0a27074 /tests
parent56f78b5bdbda705e2aaac5b422cabc12ebad7708 (diff)
downloadgdk-pixbuf-ce46c83ab88c932aa2e42089f0afaeb8bb60b3f1.tar.gz
Tue Aug 21 02:57:13 2001 Jonathan Blandford <jrb@redhat.com>>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix up selection a little. More needs to be done tomorrow.
Diffstat (limited to 'tests')
-rw-r--r--tests/testtreesort.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testtreesort.c b/tests/testtreesort.c
index 41e9decc7..a6c7d14fb 100644
--- a/tests/testtreesort.c
+++ b/tests/testtreesort.c
@@ -69,6 +69,8 @@ main (int argc, char *argv[])
// gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (model), 0, GTK_TREE_SORT_ASCENDING);
g_print ("start model\n");
tree_view = gtk_tree_view_new_with_model (model);
+ gtk_tree_selection_set_mode (gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)),
+ GTK_TREE_SELECTION_MULTI);
for (j = 0; j < 2; j++)
for (i = 0; data[i].word_1 != NULL; i++)
{