commit | 59d569b56df945265a24bae208d413ea59a767e9 | [log] [tgz] |
---|---|---|
author | Colin Walters <walters@verbum.org> | Sat Dec 15 09:55:39 2012 -0500 |
committer | Colin Walters <walters@verbum.org> | Sat Dec 15 09:55:39 2012 -0500 |
tree | ff89dd8dddbd7dd49ed0f4f30bd4359feb1a168e | |
parent | a676dec260563d844fbc8529e859d693900e3579 [diff] |
GOutputStream: Fix a compiler warning
diff --git a/gio/goutputstream.c b/gio/goutputstream.c index cdbe66d..a3ac7ad 100644 --- a/gio/goutputstream.c +++ b/gio/goutputstream.c
@@ -1148,10 +1148,10 @@ GTask *task = user_data; GError *error = NULL; + class = G_OUTPUT_STREAM_GET_CLASS (stream); + if (!g_async_result_legacy_propagate_error (res, &error)) { - class = G_OUTPUT_STREAM_GET_CLASS (stream); - class->flush_finish (stream, res, &error); }