extensions-app: Fix Logout call
Commit 764527c8c9
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
This commit is contained in:
parent
7dc08b06b1
commit
27774582b6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user