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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3326>
This commit is contained in:
Florian Müllner
2024-05-20 15:21:12 +02:00
committed by Marge Bot
parent b4d96a0f66
commit 9cafdb6d27

View File

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