mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
gpermission: fix async error returns
a8eedd00
broke the error return values from
g_permission_acquire/release_async() on GSimplePermission. Fix that.
This commit is contained in:
parent
8c32f7c448
commit
656494a784
@ -418,8 +418,7 @@ acquire_or_release_finish (GPermission *permission,
|
||||
GAsyncResult *result,
|
||||
GError **error)
|
||||
{
|
||||
g_async_result_legacy_propagate_error (result, error);
|
||||
return FALSE;
|
||||
return g_task_propagate_boolean (G_TASK (result), error);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user