diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-09-12 22:00:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-09-12 22:01:38 -0400 |
commit | e80cae8a68601bc8c8ce767e25f02f9beddae1b1 (patch) | |
tree | 66379fc6d72571e3e076772ff34effaee7aa0782 | |
parent | dbe0572d57036f90c89210d33c92fc7cf9aac3ab (diff) | |
download | glib-autostart-network-monitor-portal.tar.gz |
portal network monitor: Do autostartautostart-network-monitor-portal
There is no explicit starting of the portals in the
session, so best to allow autostart here. There has
been at least one epiphany bug reported that can be
described as "epiphany thinks I'm offline and there's
a warning about a D-Bus name without an owner and a
proxy without autostart."
-rw-r--r-- | gio/gnetworkmonitorportal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gio/gnetworkmonitorportal.c b/gio/gnetworkmonitorportal.c index 9a5820ab6..2c0eb8aea 100644 --- a/gio/gnetworkmonitorportal.c +++ b/gio/gnetworkmonitorportal.c @@ -432,8 +432,7 @@ g_network_monitor_portal_initable_init (GInitable *initable, } proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION, - G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START - | G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, + G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, NULL, "org.freedesktop.portal.Desktop", "/org/freedesktop/portal/desktop", |