From 27774582b647522be6c7b30592feb51e8c2163c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 2 May 2020 23:32:04 +0200 Subject: [PATCH] extensions-app: Fix Logout call Commit 764527c8c9b adjusted the "call" call to promisification that never happened (in this bit of code). We can either add back a callback or properly promisify the call; this opts for the latter. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2735 --- subprojects/extensions-app/js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js index 382637c74..005d1ddc6 100644 --- a/subprojects/extensions-app/js/main.js +++ b/subprojects/extensions-app/js/main.js @@ -15,6 +15,7 @@ const { ExtensionState, ExtensionType } = ExtensionUtils; const GnomeShellIface = loadInterfaceXML('org.gnome.Shell.Extensions'); const GnomeShellProxy = Gio.DBusProxy.makeProxyWrapper(GnomeShellIface); +Gio._promisify(Gio.DBusConnection.prototype, 'call', 'call_finish'); Gio._promisify(Shew.WindowExporter.prototype, 'export', 'export_finish'); function loadInterfaceXML(iface) {