From 780871d2738091f425afa1573bc1bce6969f85e6 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 15 Dec 2012 09:55:39 -0500 Subject: [PATCH] GOutputStream: Fix a compiler warning --- gio/goutputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ async_ready_close_flushed_callback_wrapper (GObject *source_object, 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); } -- 2.7.4