Sets the result from a #GError.
#GError.
Deprecated: Use #GTask and gio.task.Task.returnError instead.
Sets the result from a #GError.