Make this take a GError and return a gboolean, and do the "outstanding
authorDan Winship <danw@gnome.org>
Tue, 4 Dec 2007 08:57:04 +0000 (08:57 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Tue, 4 Dec 2007 08:57:04 +0000 (08:57 +0000)
commit117de38f04de4f546215957b95d3c5b3f104fa42
treee1fb8c902047682e05211928a428dd7d3f4218f3
parentb22aa6dde67cb0517f03b375959d379bec06f460
Make this take a GError and return a gboolean, and do the "outstanding

2007-11-30  Dan Winship  <danw@gnome.org>

* ginputstream.c (g_input_stream_set_pending): Make this take a
GError and return a gboolean, and do the "outstanding operation"
check (and the "stream is already closed" check) itself.
(g_input_stream_clear_pending): Formerly set_pending(FALSE).

* goutputstream.c (g_output_stream_set_pending)
(g_output_stream_clear_pending): Likewise

* gbufferedinputstream.c:
* gfileinputstream.c:
* gfileoutputstream.c: Update for that

* gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
Like g_simple_async_report_error_in_idle, but takes a GError
rather than building one.

svn path=/trunk/; revision=6039
gio/ChangeLog
gio/gbufferedinputstream.c
gio/gfileinputstream.c
gio/gfileoutputstream.c
gio/ginputstream.c
gio/ginputstream.h
gio/goutputstream.c
gio/goutputstream.h
gio/gsimpleasyncresult.c
gio/gsimpleasyncresult.h