summaryrefslogtreecommitdiff
path: root/gtk/gtk-types.c
diff options
context:
space:
mode:
authorJohan Dahlin <zilch@src.gnome.org>2003-12-05 13:43:51 +0000
committerJohan Dahlin <zilch@src.gnome.org>2003-12-05 13:43:51 +0000
commitf7d6e455717cf2f8a39c1c9cdacb0f6a1472bd21 (patch)
treeea57f779c158af10d14f9502a639e701a8867890 /gtk/gtk-types.c
parentcb96d57fec737440f85284090a4129c39b3f5864 (diff)
downloadpygtk-f7d6e455717cf2f8a39c1c9cdacb0f6a1472bd21.tar.gz
Swap parent and child argument. (#123605, patch by Steve Chaplin)
* gtk/gtk-types.c (pygtk_tree_model_row_get_parent): Swap parent and child argument. (#123605, patch by Steve Chaplin)
Diffstat (limited to 'gtk/gtk-types.c')
-rw-r--r--gtk/gtk-types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtk-types.c b/gtk/gtk-types.c
index 4747aef9..6a6de52d 100644
--- a/gtk/gtk-types.c
+++ b/gtk/gtk-types.c
@@ -926,7 +926,7 @@ pygtk_tree_model_row_get_parent(PyGtkTreeModelRow *self, void *closure)
{
GtkTreeIter parent;
- if (gtk_tree_model_iter_parent(self->model, &self->iter, &parent))
+ if (gtk_tree_model_iter_parent(self->model, &parent, &self->iter))
return _pygtk_tree_model_row_new(self->model, &parent);
Py_INCREF(Py_None);
return Py_None;