portal network monitor: Do autostart

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."
This commit is contained in:
Matthias Clasen 2018-09-12 22:00:11 -04:00
parent dbe0572d57
commit e80cae8a68

View File

@ -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",