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:
Dan Winship 2015-08-19 15:45:11 -04:00
parent 8c32f7c448
commit 656494a784

View File

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