From eebb16eb1af11c5327dd06b23df82f7528566739 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 14 Jun 2010 16:46:13 -0400 Subject: 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. --- modules/other/gail/gailtreeview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/other') 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) -- cgit v1.2.1