From 9f09eafa92b92dd094691ef159117f3f3b9bf69e Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Mon, 16 Mar 2015 09:30:32 -0400 Subject: [PATCH] Another array property fix: services --- src/moonshot-keyring-store.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/moonshot-keyring-store.vala b/src/moonshot-keyring-store.vala index 75e84b8..f211bd2 100644 --- a/src/moonshot-keyring-store.vala +++ b/src/moonshot-keyring-store.vala @@ -155,6 +155,7 @@ public class KeyringStore : Object, IIdentityCardStore { foreach (IdCard id_card in this.id_card_list) { /* workaround for Centos vala array property bug: use temp array */ var rules = id_card.rules; + var services_array = id_card.services; string[] rules_patterns = new string[rules.length]; string[] rules_always_conf = new string[rules.length]; @@ -164,7 +165,7 @@ public class KeyringStore : Object, IIdentityCardStore { } string patterns = string.joinv(";", rules_patterns); string always_conf = string.joinv(";", rules_always_conf); - string services = string.joinv(";", id_card.services); + string services = string.joinv(";", services_array); GnomeKeyring.AttributeList attributes = new GnomeKeyring.AttributeList(); uint32 item_id; attributes.append_string(keyring_store_attribute, keyring_store_version); -- 2.1.4