diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-12-13 16:48:06 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-12-13 16:48:06 +0000 |
commit | 2ae689e31f793bfdddaee6d5cb7e679d1adff7a9 (patch) | |
tree | 0c539c59bebeb993ca7a27262b39f04ad9524c2c /gio/goutputstream.c | |
parent | f6b9b4f45e2b5e98f8e460815d39b1b014007c1d (diff) |
g_push/pop_current_cancellable -> g_cancellable_push/pop_current
2007-12-13 Alexander Larsson <alexl@redhat.com>
* gcancellable.[ch]:
* gio.symbols:
* gbufferedinputstream.c:
* gfileenumerator.c:
* gfileinputstream.c:
* gfileoutputstream.c:
* ginputstream.c:
* gioscheduler.c:
* goutputstream.c:
g_push/pop_current_cancellable ->
g_cancellable_push/pop_current
svn path=/trunk/; revision=6115
Diffstat (limited to 'gio/goutputstream.c')
-rw-r--r-- | gio/goutputstream.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gio/goutputstream.c b/gio/goutputstream.c index f1f780e21..510b090e7 100644 --- a/gio/goutputstream.c +++ b/gio/goutputstream.c @@ -207,12 +207,12 @@ g_output_stream_write (GOutputStream *stream, return -1; if (cancellable) - g_push_current_cancellable (cancellable); + g_cancellable_push_current (cancellable); res = class->write_fn (stream, buffer, count, cancellable, error); if (cancellable) - g_pop_current_cancellable (cancellable); + g_cancellable_pop_current (cancellable); g_output_stream_clear_pending (stream); @@ -318,12 +318,12 @@ g_output_stream_flush (GOutputStream *stream, if (class->flush) { if (cancellable) - g_push_current_cancellable (cancellable); + g_cancellable_push_current (cancellable); res = class->flush (stream, cancellable, error); if (cancellable) - g_pop_current_cancellable (cancellable); + g_cancellable_pop_current (cancellable); } g_output_stream_clear_pending (stream); @@ -371,12 +371,12 @@ g_output_stream_splice (GOutputStream *stream, res = TRUE; if (cancellable) - g_push_current_cancellable (cancellable); + g_cancellable_push_current (cancellable); res = class->splice (stream, source, flags, cancellable, error); if (cancellable) - g_pop_current_cancellable (cancellable); + g_cancellable_pop_current (cancellable); g_output_stream_clear_pending (stream); @@ -516,7 +516,7 @@ g_output_stream_close (GOutputStream *stream, return FALSE; if (cancellable) - g_push_current_cancellable (cancellable); + g_cancellable_push_current (cancellable); if (class->flush) res = class->flush (stream, cancellable, error); @@ -539,7 +539,7 @@ g_output_stream_close (GOutputStream *stream, } if (cancellable) - g_pop_current_cancellable (cancellable); + g_cancellable_pop_current (cancellable); stream->priv->closed = TRUE; g_output_stream_clear_pending (stream); |