From 6163b3b2b5184274f6bfa52f59876be2acb3d6a9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 24 Aug 2016 10:54:00 -0400 Subject: [PATCH] Allow activating the desktop portal for inhibit We allow it everywhere else, and there is nothing wrong with it. --- gtk/gtkapplication-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c index 9204af91ad..6c2be716ee 100644 --- a/gtk/gtkapplication-dbus.c +++ b/gtk/gtkapplication-dbus.c @@ -322,7 +322,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl, if (dbus->sm_proxy == NULL) { 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.Inhibit",