summaryrefslogtreecommitdiff
path: root/tests/testtreeflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testtreeflow.c')
-rw-r--r--tests/testtreeflow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index fae2579ac2..306fd5b91b 100644
--- a/tests/testtreeflow.c
+++ b/tests/testtreeflow.c
@@ -128,6 +128,7 @@ main (int argc, char *argv[])
tree_view = gtk_tree_view_new_with_model (model);
gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (tree_view), path, NULL, TRUE, 0.5, 0.0);
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view));
+ gtk_tree_selection_select_path (selection, path);
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree_view), TRUE);
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tree_view), FALSE);
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (tree_view),