mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
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:
parent
dbe0572d57
commit
e80cae8a68
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user