[glib/glib-2-52] portal support: Raise the priority for network monitor



commit 3a6811a46084474e2308bdc991645f76a96156f0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 2 06:28:22 2017 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gnetworkmonitorportal.c b/gio/gnetworkmonitorportal.c
index 7f1e7c1..ea9fb5b 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]