[folks] core: Fix documentation on GroupDetails.groups



commit 62f0cce53ddeb64f9934754b39af7adf3b3002ca
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Jul 19 05:04:31 2012 +0100

    core: Fix documentation on GroupDetails.groups
    
    It was out of date and didnât match the data type of GroupDetails.groups
    any more.
    
    See: https://bugzilla.gnome.org/show_bug.cgi?id=679743

 backends/telepathy/lib/tpf-persona.vala |    2 +-
 folks/group-details.vala                |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona.vala b/backends/telepathy/lib/tpf-persona.vala
index d397fd4..84a94a2 100644
--- a/backends/telepathy/lib/tpf-persona.vala
+++ b/backends/telepathy/lib/tpf-persona.vala
@@ -455,7 +455,7 @@ public class Tpf.Persona : Folks.Persona,
   private Set<string> _groups_ro;
 
   /**
-   * A mapping of group ID to whether the contact is a member.
+   * A set group IDs for the groups the contact is a member of.
    *
    * See { link Folks.GroupDetails.groups}.
    */
diff --git a/folks/group-details.vala b/folks/group-details.vala
index 269a5ee..34e58e9 100644
--- a/folks/group-details.vala
+++ b/folks/group-details.vala
@@ -114,10 +114,10 @@ public interface Folks.GroupDetails : Object
     }
 
   /**
-   * A mapping of group ID to whether the contact is a member.
+   * A set of group IDs for groups containing the member.
    *
-   * Freeform group IDs are mapped to a boolean which is `true` if the
-   * contact is a member of the group, and `false` otherwise.
+   * The complete set of freeform identifiers for all the groups the contact is
+   * a member of.
    *
    * @since 0.5.1
    */



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