summaryrefslogtreecommitdiff
path: root/tests/testcombo.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-06-14 16:46:13 -0400
committerColin Walters <walters@verbum.org>2010-06-28 13:50:36 -0400
commiteebb16eb1af11c5327dd06b23df82f7528566739 (patch)
treed29da122bb54ecc166d67e62e14d52784dc5d818 /tests/testcombo.c
parent289f3b1b2b20f38fdd88d85f0dd2850b2ccbae7f (diff)
downloadgtk+-eebb16eb1af11c5327dd06b23df82f7528566739.tar.gz
Add length to gtk_tree_path_get_indices
The old version wasn't introspectable as it didn't have a length return parameter. Also, delete gtk_tree_path_get_indices_with_depth, since it's no longer needed.
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 bf01142925..972fbe218b 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);
+ indices = gtk_tree_path_get_indices (path, NULL);
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)[0] == 4;
+ result = gtk_tree_path_get_indices (path, NULL)[0] == 4;
gtk_tree_path_free (path);
return result;