Skip to content

Commit

Permalink
Fix a bug in InputStream.skip_async
Browse files Browse the repository at this point in the history
use the count argument instead of buffer_size which is always zero
  • Loading branch information
gianmt committed May 8, 2009
1 parent ed6b063 commit 23556bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gio/ginputstream.override
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 23556bd

Please sign in to comment.