[pygobject] make sure we parse parameters to python object vars not glib vars
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] make sure we parse parameters to python object vars not glib vars
- Date: Fri, 30 Jul 2010 13:04:44 +0000 (UTC)
commit 477315465d0a6d84b51e146e86e254873bc564ff
Author: John (J5) Palmieri <johnp redhat com>
Date: Fri Jul 30 06:43:06 2010 -0400
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
gio/gfile.override | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/gfile.override b/gio/gfile.override
index 71e2d98..b50130c 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,
¬ify->callback,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
¬ify->data))
goto error;
@@ -1203,7 +1203,7 @@ _wrap_g_file_create_async(PyGObject *self, PyObject *args, PyObject *kwargs)
"O|OiOO:File.create_async",
kwlist,
¬ify->callback,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
¬ify->data))
goto error;
@@ -1253,7 +1253,7 @@ _wrap_g_file_create_readwrite_async(PyGObject *self,
"O|OiOO:File.create_readwrite_async",
kwlist,
¬ify->callback,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
¬ify->data))
goto error;
@@ -1405,7 +1405,7 @@ _wrap_g_file_replace_async(PyGObject *self, PyObject *args, PyObject *kwargs)
kwlist,
¬ify->callback,
&etag, &py_backup,
- &flags, &io_priority,
+ &py_flags, &io_priority,
&pycancellable,
¬ify->data))
goto error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]