From: Kevin Wasserman Date: Mon, 16 Mar 2015 13:30:32 +0000 (-0400) Subject: Another array property fix: services X-Git-Tag: upstream/0.7.2~7 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot-ui.git;a=commitdiff_plain;h=9f09eafa92b92dd094691ef159117f3f3b9bf69e Another array property fix: services --- 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);