diff options
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r-- | gtk/gtktreeview.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 831bf705cb..8ebf772f19 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -8946,11 +8946,11 @@ gtk_tree_view_expand_to_path (GtkTreeView *tree_view, for (i = 0; i < depth; i++) { - gtk_tree_path_append_index (path, indices[i]); - gtk_tree_view_expand_row (tree_view, path, FALSE); + gtk_tree_path_append_index (tmp, indices[i]); + gtk_tree_view_expand_row (tree_view, tmp, FALSE); } - gtk_tree_path_free (path); + gtk_tree_path_free (tmp); } /* FIXME the bool return values for expand_row and collapse_row are |