diff options
author | Johan Dahlin <zilch@src.gnome.org> | 2003-12-05 13:43:51 +0000 |
---|---|---|
committer | Johan Dahlin <zilch@src.gnome.org> | 2003-12-05 13:43:51 +0000 |
commit | f7d6e455717cf2f8a39c1c9cdacb0f6a1472bd21 (patch) | |
tree | ea57f779c158af10d14f9502a639e701a8867890 /gtk/gtk-types.c | |
parent | cb96d57fec737440f85284090a4129c39b3f5864 (diff) | |
download | pygtk-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.c | 2 |
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; |