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:

committed by
Marge Bot

parent
b4d96a0f66
commit
9cafdb6d27
@@ -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) {
|
||||
|
Reference in New Issue
Block a user