Sets the result from @error, and takes over the caller's ownership of @error, so the caller does not need to free it any more.
a #GError
Deprecated: Use #GTask and g_task_return_error() instead.
2.28
See Implementation
Sets the result from @error, and takes over the caller's ownership of @error, so the caller does not need to free it any more.