summaryrefslogtreecommitdiff
path: root/tests/testcombo.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/testcombo.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/testcombo.c')
-rw-r--r--tests/testcombo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testcombo.c b/tests/testcombo.c
index 972fbe218b..bf01142925 100644
--- a/tests/testcombo.c
+++ b/tests/testcombo.c
@@ -973,7 +973,7 @@ set_sensitive (GtkCellLayout *cell_layout,
gboolean sensitive;
path = gtk_tree_model_get_path (tree_model, iter);
- indices = gtk_tree_path_get_indices (path, NULL);
+ indices = gtk_tree_path_get_indices (path);
sensitive = indices[0] != 1;
gtk_tree_path_free (path);
@@ -989,7 +989,7 @@ is_separator (GtkTreeModel *model,
gboolean result;
path = gtk_tree_model_get_path (model, iter);
- result = gtk_tree_path_get_indices (path, NULL)[0] == 4;
+ result = gtk_tree_path_get_indices (path)[0] == 4;
gtk_tree_path_free (path);
return result;