mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Autostart xdg-desktop-portal if needed
This is a speculative fix for epiphany#533, which we think might be caused by xdg-desktop-portal not ever being started. This service is started on-demand, not automatically.
This commit is contained in:
parent
0e0b94d635
commit
04989cfafb
@ -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",
|
||||
|
@ -52,7 +52,7 @@ ensure_resolver_proxy (GProxyResolverPortal *resolver)
|
||||
return FALSE;
|
||||
|
||||
resolver->resolver = gxdp_proxy_resolver_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
|
||||
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
||||
G_DBUS_PROXY_FLAGS_NONE,
|
||||
"org.freedesktop.portal.Desktop",
|
||||
"/org/freedesktop/portal/desktop",
|
||||
NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user