[network-manager-applet] Use valid path when loading the org.gnome.nm-applet.eap schema



commit 866344d61b6076cca34cd075643ac8628c5828b3
Author: Michael Biebl <biebl debian org>
Date:   Fri Apr 4 17:02:04 2014 +0200

    Use valid path when loading the org.gnome.nm-applet.eap schema
    
    Since glib 2.39, GSettings verifies the path validity [0].
    A valid path begins and ends with '/' and does not contain two
    consecutive '/'. We were missing the trailing '/', leading to an assert
    when trying to load the org.gnome.nm-applet.eap schema.
    
    [0] https://git.gnome.org/browse/glib/commit/?id=6568843624e9f46a3c51cd8c1a6670896a48f1fb

 src/wireless-security/eap-method.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wireless-security/eap-method.c b/src/wireless-security/eap-method.c
index ffadeeb..1adc2b5 100644
--- a/src/wireless-security/eap-method.c
+++ b/src/wireless-security/eap-method.c
@@ -587,7 +587,7 @@ _get_ca_ignore_settings (NMConnection *connection)
        uuid = nm_connection_get_uuid (connection);
        g_return_val_if_fail (uuid && *uuid, NULL);
 
-       path = g_strdup_printf ("/org/gnome/nm-applet/eap/%s", uuid);
+       path = g_strdup_printf ("/org/gnome/nm-applet/eap/%s/", uuid);
        settings = g_settings_new_with_path ("org.gnome.nm-applet.eap", path);
        g_free (path);
 


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