[pygobject/splice-async-fix] Fix gio.OutputStream.splice_async



commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
Author: Paul Pogonyshev <pogonyshev gmx net>
Date:   Sat May 30 17:24:15 2009 +0300

    Fix gio.OutputStream.splice_async
    
    Bug #584290.
---
 gio/goutputstream.override |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gio/goutputstream.override b/gio/goutputstream.override
index 6f3cd95..e28a3d0 100644
--- a/gio/goutputstream.override
+++ b/gio/goutputstream.override
@@ -259,8 +259,8 @@ _wrap_g_output_stream_flush_async(PyGObject *self,
 override g_output_stream_splice_async kwargs
 static PyObject *
 _wrap_g_output_stream_splice_async(PyGObject *self,
-                                  PyObject *args,
-                                  PyObject *kwargs)
+                                   PyObject *args,
+                                   PyObject *kwargs)
 {
     static char *kwlist[] = { "source", "callback", "flags", "io_priority",
                               "cancellable", "user_data", NULL };
@@ -276,12 +276,12 @@ _wrap_g_output_stream_splice_async(PyGObject *self,
     notify = pygio_notify_new();
   
     if (!PyArg_ParseTupleAndKeywords(args, kwargs,
-                                     "O!O|iOO:OutputStream.splice_async",
+                                     "O!O|OiOO:OutputStream.splice_async",
                                      kwlist,
                                      &PyGInputStream_Type,
                                      &source,
                                      &notify->callback,
-                                     &flags,
+                                     &py_flags,
                                      &io_priority,
                                      &pycancellable,
                                      &notify->data))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]