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 /modules/other | |
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 'modules/other')
-rw-r--r-- | modules/other/gail/gailtreeview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c index a054297838..5118d4494f 100644 --- a/modules/other/gail/gailtreeview.c +++ b/modules/other/gail/gailtreeview.c @@ -3257,7 +3257,7 @@ get_row_from_tree_path (GtkTreeView *tree_view, tree_model = gtk_tree_view_get_model (tree_view); if (gtk_tree_model_get_flags (tree_model) & GTK_TREE_MODEL_LIST_ONLY) - row = gtk_tree_path_get_indices (path)[0]; + row = gtk_tree_path_get_indices (path, NULL)[0]; else { root_tree = gtk_tree_path_new_first (); @@ -4360,7 +4360,7 @@ get_index (GtkTreeView *tree_view, if (path) { depth = gtk_tree_path_get_depth (path); - indices = gtk_tree_path_get_indices (path); + indices = gtk_tree_path_get_indices (path, NULL); } if (depth > 1) |