]> git.0d.be Git - empathy.git/commitdiff
Documented public functions in empathy-roster-model
authorLaurent Contzen <lcontzen@gmail.com>
Sat, 4 Aug 2012 10:12:30 +0000 (12:12 +0200)
committerLaurent Contzen <lcontzen@gmail.com>
Mon, 6 Aug 2012 09:02:18 +0000 (11:02 +0200)
libempathy-gtk/empathy-roster-model.c

index d8671f2799cd096a5fdfe40726943d53d26fb3d3..80a82bf1d5740976ad2b4510059d6f07b5b9a648 100644 (file)
@@ -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)