[folks] Give public access to properties for which there is write support



commit 7b68c5477f06ede33e693b6ed7cab3dc92263221
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Mon Aug 1 19:31:37 2011 +0100

    Give public access to properties for which there is write support
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=655610

 NEWS                                  |    1 +
 backends/eds/lib/edsf-persona.vala    |    8 ++++----
 backends/tracker/lib/trf-persona.vala |    2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/NEWS b/NEWS
index 8472cac..9b7d656 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,7 @@ Bugs fixed:
 * Bug 655019 â Don't notify twice for nickname changes
 * Bug 650414 â Need better APIs to handle image data
 * Bug 652643 â Add PersonaStore cache
+* Bug 655510 â Make truly-writeable *Details property setters public
 
 API changes:
 * Swf.Persona retains and exposes its libsocialweb Contact
diff --git a/backends/eds/lib/edsf-persona.vala b/backends/eds/lib/edsf-persona.vala
index 144dd4d..6d34876 100644
--- a/backends/eds/lib/edsf-persona.vala
+++ b/backends/eds/lib/edsf-persona.vala
@@ -143,7 +143,7 @@ public class Edsf.Persona : Folks.Persona,
   public Set<PostalAddress> postal_addresses
     {
       get { return this._postal_addresses_ro; }
-      private set
+      set
         {
           ((Edsf.PersonaStore) this.store)._set_postal_addresses (this, value);
         }
@@ -157,7 +157,7 @@ public class Edsf.Persona : Folks.Persona,
   public Set<FieldDetails> phone_numbers
     {
       get { return this._phone_numbers_ro; }
-      private set
+      set
         {
           ((Edsf.PersonaStore) this.store)._set_phones (this, value);
         }
@@ -171,7 +171,7 @@ public class Edsf.Persona : Folks.Persona,
   public Set<FieldDetails> email_addresses
     {
       get { return this._email_addresses_ro; }
-      private set
+      set
         {
           ((Edsf.PersonaStore) this.store)._set_emails (this, value);
         }
@@ -185,7 +185,7 @@ public class Edsf.Persona : Folks.Persona,
   public Set<Note> notes
     {
       get { return this._notes_ro; }
-      private set
+      set
         {
           ((Edsf.PersonaStore) this.store)._set_notes (this, value);
         }
diff --git a/backends/tracker/lib/trf-persona.vala b/backends/tracker/lib/trf-persona.vala
index 1e8777c..58b8cbb 100644
--- a/backends/tracker/lib/trf-persona.vala
+++ b/backends/tracker/lib/trf-persona.vala
@@ -238,7 +238,7 @@ public class Trf.Persona : Folks.Persona,
   public Set<Note> notes
     {
       get { return this._notes_ro; }
-      private set
+      set
         {
           ((Trf.PersonaStore) this.store)._set_notes (this, value);
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]