summaryrefslogtreecommitdiff
path: root/gtk/gtktreestore.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-06-28 14:15:10 -0400
committerColin Walters <walters@verbum.org>2010-06-28 14:15:10 -0400
commit905f98816674bf3098d519778d73b0bf1acdf286 (patch)
tree1c438a82f0fc629d8edcf948198c323e0b08d7e2 /gtk/gtktreestore.c
parent17f8b5e581b3f2eca4e58c616bfbf2b3d6639974 (diff)
downloadgtk+-905f98816674bf3098d519778d73b0bf1acdf286.tar.gz
Revert "Add length to gtk_tree_path_get_indices"
This reverts commit eebb16eb1af11c5327dd06b23df82f7528566739. Was an accidental commit.
Diffstat (limited to 'gtk/gtktreestore.c')
-rw-r--r--gtk/gtktreestore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index 39c0deff73..7f5f15549c 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -481,7 +481,7 @@ gtk_tree_store_get_iter (GtkTreeModel *tree_model,
tree_store->columns_dirty = TRUE;
- indices = gtk_tree_path_get_indices (path, NULL);
+ indices = gtk_tree_path_get_indices (path);
depth = gtk_tree_path_get_depth (path);
g_return_val_if_fail (depth > 0, FALSE);
@@ -2467,7 +2467,7 @@ gtk_tree_store_move (GtkTreeStore *tree_store,
{
b = G_NODE (position->user_data);
- if (gtk_tree_path_get_indices (pos_path, NULL)[gtk_tree_path_get_depth (pos_path) - 1] > 0)
+ if (gtk_tree_path_get_indices (pos_path)[gtk_tree_path_get_depth (pos_path) - 1] > 0)
{
gtk_tree_path_prev (pos_path);
if (gtk_tree_store_get_iter (GTK_TREE_MODEL (tree_store),
@@ -2611,7 +2611,7 @@ gtk_tree_store_move (GtkTreeStore *tree_store,
/* emit signal */
if (position)
- new_pos = gtk_tree_path_get_indices (pos_path, NULL)[gtk_tree_path_get_depth (pos_path)-1];
+ new_pos = gtk_tree_path_get_indices (pos_path)[gtk_tree_path_get_depth (pos_path)-1];
else if (before)
{
if (depth)