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
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.