diff options
author | Rodrigo Moya <rodrigo.moya@collabora.co.uk> | 2013-07-19 15:59:28 +0200 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2013-07-19 15:59:28 +0200 |
commit | 60638a82a5f8ac5239e98ec15ca74a7d25d1dbcc (patch) | |
tree | 8af63c128ab5632e8e12d629defcda45e08ce306 | |
parent | c9022a9eba71ffe945bfb8e905c872d1fbe19fa8 (diff) |
Some more small fixes
-rw-r--r-- | folks/extended-info.vala | 6 | ||||
-rw-r--r-- | folks/individual.vala | 6 | ||||
-rw-r--r-- | tests/eds/extended-info.vala | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/folks/extended-info.vala b/folks/extended-info.vala index 199812de..4652c487 100644 --- a/folks/extended-info.vala +++ b/folks/extended-info.vala @@ -28,7 +28,7 @@ using Gee; * See {@link Folks.AbstractFieldDetails} for details on common parameter names * and values. * - * @since UNRELEASED + * @since UNRELEASED */ public class Folks.ExtendedFieldDetails : AbstractFieldDetails<string> { @@ -55,7 +55,7 @@ public class Folks.ExtendedFieldDetails : AbstractFieldDetails<string> this.value = value; if (parameters != null) this.parameters = (!) parameters; - } + } /** * {@inheritDoc} @@ -110,5 +110,5 @@ public interface Folks.ExtendedInfo : Object /* Default implementation */ throw new PropertyError.NOT_WRITEABLE ( _("Extended fields are not writeable on this contact.")); - } + } } diff --git a/folks/individual.vala b/folks/individual.vala index 3577b7cb..930533ea 100644 --- a/folks/individual.vala +++ b/folks/individual.vala @@ -971,7 +971,7 @@ public class Folks.Individual : Object, * as a writeable property. */ foreach (var p in this._persona_set) { - if ("extended_info" in p.writeable_properties) + if ("extended-info" in p.writeable_properties) { var e = p as ExtendedInfo; return e.get_extended_field (name); @@ -979,7 +979,7 @@ public class Folks.Individual : Object, } return null; - } + } /** * {@inheritDoc} @@ -1032,7 +1032,7 @@ public class Folks.Individual : Object, throw persona_error; } - } + } /** * The set of {@link Persona}s encapsulated by this Individual. diff --git a/tests/eds/extended-info.vala b/tests/eds/extended-info.vala index c58cab75..fa3e1228 100644 --- a/tests/eds/extended-info.vala +++ b/tests/eds/extended-info.vala @@ -102,7 +102,7 @@ public class ExtendedInfoTests : EdsTest.TestCase this._found_field_1 = true; if (i.get_extended_field ("X-FIELD-2") != null) this._found_field_2 = true; - } + } } assert (removed.size == 1); |