summaryrefslogtreecommitdiff
path: root/tests/testtreecolumns.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-06-28 14:15:10 -0400
committerColin Walters <walters@verbum.org>2010-06-28 14:15:10 -0400
commit905f98816674bf3098d519778d73b0bf1acdf286 (patch)
tree1c438a82f0fc629d8edcf948198c323e0b08d7e2 /tests/testtreecolumns.c
parent17f8b5e581b3f2eca4e58c616bfbf2b3d6639974 (diff)
downloadgtk+-905f98816674bf3098d519778d73b0bf1acdf286.tar.gz
Revert "Add length to gtk_tree_path_get_indices"
This reverts commit eebb16eb1af11c5327dd06b23df82f7528566739. Was an accidental commit.
Diffstat (limited to 'tests/testtreecolumns.c')
-rw-r--r--tests/testtreecolumns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c
index 7aede8b270..b8358f5134 100644
--- a/tests/testtreecolumns.c
+++ b/tests/testtreecolumns.c
@@ -116,7 +116,7 @@ view_column_model_get_iter (GtkTreeModel *tree_model,
g_return_val_if_fail (gtk_tree_path_get_depth (path) > 0, FALSE);
- i = gtk_tree_path_get_indices (path, NULL)[0];
+ i = gtk_tree_path_get_indices (path)[0];
list = g_list_nth (view_model->columns, i);
if (list == NULL)
@@ -659,7 +659,7 @@ move_to_right (GtkTreeIter *src_iter,
if (dest_iter)
{
GtkTreePath *path = gtk_tree_model_get_path (dest, dest_iter);
- before = (gtk_tree_path_get_indices (path, NULL))[0];
+ before = (gtk_tree_path_get_indices (path))[0];
gtk_tree_path_free (path);
}
@@ -686,7 +686,7 @@ move_up_or_down (GtkTreeModel *src,
if (dest_iter)
{
GtkTreePath *path = gtk_tree_model_get_path (dest, dest_iter);
- before = (gtk_tree_path_get_indices (path, NULL))[0];
+ before = (gtk_tree_path_get_indices (path))[0];
gtk_tree_path_free (path);
}