summaryrefslogtreecommitdiff
path: root/gtk/gtkliststore.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/gtkliststore.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/gtkliststore.c')
-rw-r--r--gtk/gtkliststore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index c913ff6d02..d9cd3fd242 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -435,7 +435,7 @@ gtk_list_store_get_iter (GtkTreeModel *tree_model,
seq = list_store->seq;
- i = gtk_tree_path_get_indices (path, NULL)[0];
+ i = gtk_tree_path_get_indices (path)[0];
if (i >= g_sequence_get_length (seq))
return FALSE;
@@ -1388,7 +1388,7 @@ gtk_list_store_row_drop_possible (GtkTreeDragDest *drag_dest,
/* can drop before any existing node, or before one past any existing. */
- indices = gtk_tree_path_get_indices (dest_path, NULL);
+ indices = gtk_tree_path_get_indices (dest_path);
if (indices[0] <= g_sequence_get_length (GTK_LIST_STORE (drag_dest)->seq))
retval = TRUE;