Use g_simple_async_result_{new_,}take_error

Bug #633685.
This commit is contained in:
Christian Persch
2010-09-23 13:02:50 +02:00
parent 63b87b2c26
commit 9e0c07870a
34 changed files with 98 additions and 270 deletions

View File

@@ -806,10 +806,7 @@ get_stream_thread_func (GSimpleAsyncResult *res,
cancellable,
&error);
if (data->stream == NULL)
{
g_simple_async_result_set_from_error (res, error);
g_error_free (error);
}
g_simple_async_result_take_error (res, error);
}
/**