[folks/wip/arbitrary-field-interface] Some more small fixes
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/wip/arbitrary-field-interface] Some more small fixes
- Date: Fri, 19 Jul 2013 13:59:40 +0000 (UTC)
commit 60638a82a5f8ac5239e98ec15ca74a7d25d1dbcc
Author: Rodrigo Moya <rodrigo moya collabora co uk>
Date: Fri Jul 19 15:59:28 2013 +0200
Some more small fixes
folks/extended-info.vala | 6 +++---
folks/individual.vala | 6 +++---
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 199812d..4652c48 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 3577b7c..930533e 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 c58cab7..fa3e122 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]