diff options
author | Laurent Contzen <lcontzen@gmail.com> | 2012-08-04 18:12:30 +0800 |
---|---|---|
committer | Laurent Contzen <lcontzen@gmail.com> | 2012-08-06 17:02:18 +0800 |
commit | e0542a641adc30e04255b1eb561bbcd6e0b17da2 (patch) | |
tree | 68d6a92a07512c0b74052879ddda8472472c870e /libempathy-gtk | |
parent | d4b4fb539cc29750527836b87590ff9e215d0b9d (diff) | |
download | gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.gz gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.bz2 gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.lz gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.xz gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.zst gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.zip |
Documented public functions in empathy-roster-model
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-roster-model.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-model.c b/libempathy-gtk/empathy-roster-model.c index d8671f279..80a82bf1d 100644 --- a/libempathy-gtk/empathy-roster-model.c +++ b/libempathy-gtk/empathy-roster-model.c @@ -90,6 +90,14 @@ empathy_roster_model_fire_groups_changed (EmpathyRosterModel *self, /***** Public *****/ +/** + * empathy_roster_model_get_individuals: + * @self: a #EmpathyRosterModel + * + * Returns all the individuals stored by @self. + * + * Returns: (transfer container): a #GList of #FolksIndividual + */ GList * empathy_roster_model_get_individuals (EmpathyRosterModel *self) { @@ -103,6 +111,16 @@ empathy_roster_model_get_individuals (EmpathyRosterModel *self) return (* iface->get_individuals) (self); } +/** + * empathy_roster_model_get_groups_for_individual: + * @self: a #EmpathyRosterModel + * @individual: a #FolksIndidivual + * + * Returns the groups of which @individual is a member of. + * + * Returns: (transfer container): a #GList of (const gchar *) representing the + * groups of @individual + */ GList * empathy_roster_model_get_groups_for_individual (EmpathyRosterModel *self, FolksIndividual *individual) |