diff options
author | Colin Walters <walters@verbum.org> | 2010-06-14 16:46:13 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-06-28 13:50:36 -0400 |
commit | eebb16eb1af11c5327dd06b23df82f7528566739 (patch) | |
tree | d29da122bb54ecc166d67e62e14d52784dc5d818 /tests/testcombo.c | |
parent | 289f3b1b2b20f38fdd88d85f0dd2850b2ccbae7f (diff) | |
download | gtk+-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.c | 4 |
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; |