GOutputStream: Fix a compiler warning

This commit is contained in:
Colin Walters 2012-12-15 09:55:39 -05:00
parent 07bb8097e5
commit 780871d273

View File

@ -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);
}