From c4a923801d46c6de3c0ab306ed048076810e227c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 20 May 2024 15:21:12 +0200 Subject: [PATCH] accessDialog: Stop owning portal name We no longer provide a portal implementation, so there's no need for owning the name. Right now only the gnome portal consumes the API, and that accesses it under "org.gnome.Shell". Part-of: (cherry picked from commit 9cafdb6d27108931a3aa46abafe72f131ee0f5aa) --- js/ui/accessDialog.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/ui/accessDialog.js b/js/ui/accessDialog.js index 777fd2b3c..cd001a6d9 100644 --- a/js/ui/accessDialog.js +++ b/js/ui/accessDialog.js @@ -136,8 +136,6 @@ export class AccessDialogDBus { this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AccessIface, this); this._dbusImpl.export(Gio.DBus.session, '/org/freedesktop/portal/desktop'); - - Gio.DBus.session.own_name('org.gnome.Shell.Portal', Gio.BusNameOwnerFlags.REPLACE, null, null); } AccessDialogAsync(params, invocation) {