summaryrefslogtreecommitdiff
path: root/gio/gfile.override
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2010-07-30 06:43:06 -0400
committerJohn (J5) Palmieri <johnp@redhat.com>2010-07-30 09:04:30 -0400
commit477315465d0a6d84b51e146e86e254873bc564ff (patch)
tree2991fa08e08312c2bc91b084d24e48067173540b /gio/gfile.override
parentfaa7d4eece7ddb698725098970c2478a3b45c4d5 (diff)
downloadpygobject-477315465d0a6d84b51e146e86e254873bc564ff.tar.gz
make sure we parse parameters to python object vars not glib vars
* py_flags was already set up but due to a typo &flags was being passed instead https://bugzilla.gnome.org/show_bug.cgi?id=625438
Diffstat (limited to 'gio/gfile.override')
-rw-r--r--gio/gfile.override8
1 files changed, 4 insertions, 4 deletions
diff --git a/gio/gfile.override b/gio/gfile.override
index 71e2d98d..b50130cc 100644
--- a/gio/gfile.override
+++ b/gio/gfile.override
@@ -1155,7 +1155,7 @@ _wrap_g_file_append_to_async(PyGObject *self, PyObject *args, PyObject *kwargs)
"O|OiOO:File.append_to_async",
kwlist,
&notify->callback,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
&notify->data))
goto error;
@@ -1203,7 +1203,7 @@ _wrap_g_file_create_async(PyGObject *self, PyObject *args, PyObject *kwargs)
"O|OiOO:File.create_async",
kwlist,
&notify->callback,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
&notify->data))
goto error;
@@ -1253,7 +1253,7 @@ _wrap_g_file_create_readwrite_async(PyGObject *self,
"O|OiOO:File.create_readwrite_async",
kwlist,
&notify->callback,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
&notify->data))
goto error;
@@ -1405,7 +1405,7 @@ _wrap_g_file_replace_async(PyGObject *self, PyObject *args, PyObject *kwargs)
kwlist,
&notify->callback,
&etag, &py_backup,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
&notify->data))
goto error;