[folks] Make the Edsf.Persona class follow our coding style
- From: Raul Gutierrez Segales <raulgs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Make the Edsf.Persona class follow our coding style
- Date: Mon, 1 Aug 2011 18:11:01 +0000 (UTC)
commit 3772e17cf78775bf12e1527c9625973e0ab1354b
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date: Mon Aug 1 18:52:14 2011 +0100
Make the Edsf.Persona class follow our coding style
Besides adhering to our coding style, this also
works around a bug in Vala that allows accessing
public string foo { get; set; }
through _foo.
Works around: https://bugzilla.gnome.org/show_bug.cgi?id=655741
backends/eds/lib/edsf-persona.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona.vala b/backends/eds/lib/edsf-persona.vala
index 291ab0d..144dd4d 100644
--- a/backends/eds/lib/edsf-persona.vala
+++ b/backends/eds/lib/edsf-persona.vala
@@ -549,7 +549,7 @@ public class Edsf.Persona : Folks.Persona,
{
this._email_addresses.clear ();
- var attrs = _contact.get_attributes (E.ContactField.EMAIL);
+ var attrs = this.contact.get_attributes (E.ContactField.EMAIL);
foreach (var attr in attrs)
{
var fd = new FieldDetails (attr.get_value ());
@@ -840,7 +840,7 @@ public class Edsf.Persona : Folks.Persona,
{
this._phone_numbers.clear ();
- var attrs = _contact.get_attributes (E.ContactField.TEL);
+ var attrs = this.contact.get_attributes (E.ContactField.TEL);
foreach (var attr in attrs)
{
var fd = new FieldDetails (attr.get_value ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]