[pygobject] Fix a bug in InputStream.skip_async



commit 23556bdbcf9cf06db866901fb822dd78a9043648
Author: Gian Mario Tagliaretti <gianmt gnome org>
Date:   Sat May 9 00:03:05 2009 +0200

    Fix a bug in InputStream.skip_async
    
    use the count argument instead of buffer_size which is always zero
---
 gio/ginputstream.override |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gio/ginputstream.override b/gio/ginputstream.override
index 13ec37f..7518b3f 100644
--- a/gio/ginputstream.override
+++ b/gio/ginputstream.override
@@ -425,9 +425,10 @@ _wrap_g_input_stream_skip_async(PyGObject *self,
         goto error;
 
     pygio_notify_reference_callback(notify);
+    
 
     g_input_stream_skip_async(G_INPUT_STREAM(self->obj),
-                              notify->buffer_size,
+                              count,
                               io_priority,
                               cancellable,
                               (GAsyncReadyCallback) async_result_callback_marshal,



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