[gtk+] Allow activating the desktop portal for inhibit



commit 6163b3b2b5184274f6bfa52f59876be2acb3d6a9
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 24 10:54:00 2016 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c
index 9204af9..6c2be71 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",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]