From f3403548614a8b0c378f7c39ff4321b0a118ebb1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 2 May 2017 06:28:22 -0400 Subject: [PATCH] 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. --- gio/gnetworkmonitorportal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gnetworkmonitorportal.c b/gio/gnetworkmonitorportal.c index 7f1e7c11b..ea9fb5bf8 100644 --- a/gio/gnetworkmonitorportal.c +++ b/gio/gnetworkmonitorportal.c @@ -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)