diff options
author | Gian Mario Tagliaretti <gianmt@gnome.org> | 2009-05-09 00:03:05 +0200 |
---|---|---|
committer | Gian Mario Tagliaretti <gianmt@gnome.org> | 2009-05-09 00:03:05 +0200 |
commit | 23556bdbcf9cf06db866901fb822dd78a9043648 (patch) | |
tree | 5d89ad2f0ab23ff4809e6231eab1ed18459ddccb | |
parent | ed6b06315c17441b41c001d38537c904b8fe18de (diff) | |
download | pygobject-23556bdbcf9cf06db866901fb822dd78a9043648.tar.gz |
Fix a bug in InputStream.skip_async
use the count argument instead of buffer_size which is always zero
-rw-r--r-- | gio/ginputstream.override | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/ginputstream.override b/gio/ginputstream.override index 13ec37f1..7518b3f2 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, |