summaryrefslogtreecommitdiff
path: root/gtk/gtktreemodelsort.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2006-01-14 19:58:04 +0000
committerKristian Rietveld <kristian@src.gnome.org>2006-01-14 19:58:04 +0000
commit8700ff7bcf6737c95874016ced7e29d4ac5724eb (patch)
tree285ff24266802a950cd924c6464a4a872d9ca3fb /gtk/gtktreemodelsort.c
parentf396a237dddcda8b85147f2bf4eb0fd8df994bc3 (diff)
downloadgtk+-8700ff7bcf6737c95874016ced7e29d4ac5724eb.tar.gz
fix a typo which caused this whole thing to not function ...
2006-01-14 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix a typo which caused this whole thing to not function ...
Diffstat (limited to 'gtk/gtktreemodelsort.c')
-rw-r--r--gtk/gtktreemodelsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c
index df2fe2e314..f8df268b17 100644
--- a/gtk/gtktreemodelsort.c
+++ b/gtk/gtktreemodelsort.c
@@ -1095,7 +1095,7 @@ gtk_tree_model_sort_iter_children (GtkTreeModel *tree_model,
iter->stamp = 0;
g_return_val_if_fail (tree_model_sort->child_model != NULL, FALSE);
if (parent)
- g_return_val_if_fail (VALID_ITER (iter, tree_model_sort), FALSE);
+ g_return_val_if_fail (VALID_ITER (parent, tree_model_sort), FALSE);
if (parent == NULL)
{