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:
Matthias Clasen 2017-05-02 06:28:22 -04:00
parent f5993c0e5d
commit f340354861

View File

@ -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)