Revert "Add length to gtk_tree_path_get_indices"

This reverts commit eebb16eb1a.

Was an accidental commit.
This commit is contained in:
Colin Walters
2010-06-28 14:15:10 -04:00
parent 17f8b5e581
commit 905f988166
21 changed files with 104 additions and 85 deletions

View File

@ -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, NULL)[0];
row = gtk_tree_path_get_indices (path)[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, NULL);
indices = gtk_tree_path_get_indices (path);
}
if (depth > 1)