diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 8faa112ea..edc16eb87 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -253,9 +253,9 @@ var GnomeShell = class { invocation.return_value(GLib.Variant.new('(b)', [ungrabSucceeded])); } - ScreenTransitionAsync(params, invocation) { + async ScreenTransitionAsync(params, invocation) { try { - this._senderChecker.checkInvocation(invocation); + await this._senderChecker.checkInvocation(invocation); } catch (e) { invocation.return_gerror(e); return;