[network-manager-applet/jk/password-icon-1-0: 18/18] applet: fix bad assertion for 'password-raw' password
- From: Jiří Klimeš <jklimes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/jk/password-icon-1-0: 18/18] applet: fix bad assertion for 'password-raw' password
- Date: Fri, 24 Apr 2015 12:50:19 +0000 (UTC)
commit 694b239584ed356df7254f6415c19fafcc0f03d1
Author: Jiří Klimeš <jklimes redhat com>
Date: Fri Apr 24 14:39:55 2015 +0200
applet: fix bad assertion for 'password-raw' password
(nm-applet:7938): nm-applet-CRITICAL **: write_one_secret_to_keyring: assertion 'type == G_TYPE_STRING'
failed
src/applet-agent.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/applet-agent.c b/src/applet-agent.c
index 5ea0d3a..6cac483 100644
--- a/src/applet-agent.c
+++ b/src/applet-agent.c
@@ -694,6 +694,9 @@ write_one_secret_to_keyring (NMSetting *setting,
vpn_secret_iter_cb,
r);
} else {
+ /* FIXME: password-raw is not string */
+ if (!g_strcmp0 (key, NM_SETTING_802_1X_PASSWORD_RAW))
+ return;
g_return_if_fail (type == G_TYPE_STRING);
secret = g_value_get_string (value);
if (secret && strlen (secret))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]