mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +01:00
portal support: Raise the priority for network monitor
When we are inside a sandbox, we want to use the portal implementation, since it is the only one that has a chance of working. This is safe to do, since the portal implementation will just fail initialization when loaded outside a sandbox.
This commit is contained in:
parent
f5993c0e5d
commit
f340354861
@ -53,7 +53,7 @@ G_DEFINE_TYPE_WITH_CODE (GNetworkMonitorPortal, g_network_monitor_portal, G_TYPE
|
||||
g_io_extension_point_implement (G_NETWORK_MONITOR_EXTENSION_POINT_NAME,
|
||||
g_define_type_id,
|
||||
"portal",
|
||||
30))
|
||||
40))
|
||||
|
||||
static void
|
||||
g_network_monitor_portal_init (GNetworkMonitorPortal *nm)
|
||||
|
Loading…
Reference in New Issue
Block a user