mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
Allow activating the desktop portal for inhibit
We allow it everywhere else, and there is nothing wrong with it.
This commit is contained in:
parent
9f456028ae
commit
6163b3b2b5
@ -322,7 +322,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
|
|||||||
if (dbus->sm_proxy == NULL)
|
if (dbus->sm_proxy == NULL)
|
||||||
{
|
{
|
||||||
dbus->inhibit_proxy = gtk_application_get_proxy_if_service_present (dbus->session,
|
dbus->inhibit_proxy = gtk_application_get_proxy_if_service_present (dbus->session,
|
||||||
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
G_DBUS_PROXY_FLAGS_NONE,
|
||||||
"org.freedesktop.portal.Desktop",
|
"org.freedesktop.portal.Desktop",
|
||||||
"/org/freedesktop/portal/desktop",
|
"/org/freedesktop/portal/desktop",
|
||||||
"org.freedesktop.portal.Inhibit",
|
"org.freedesktop.portal.Inhibit",
|
||||||
|
Loading…
Reference in New Issue
Block a user