]> git.0d.be Git - empathy.git/commitdiff
empathy-roster-model-manager.c: implement empathy_roster_model_manager_get_individuals ()
authorLaurent Contzen <lcontzen@gmail.com>
Wed, 4 Jul 2012 09:41:05 +0000 (11:41 +0200)
committerLaurent Contzen <lcontzen@gmail.com>
Mon, 23 Jul 2012 07:48:42 +0000 (09:48 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=679868

https://bugzilla.gnome.org/show_bug.cgi?id=680302

libempathy-gtk/empathy-roster-model-manager.c

index c9b2620f8eb80a618ed857e56e904aafccb79d94..b76a7a384f6667f1c17973102ea1932f221e8140 100644 (file)
@@ -169,7 +169,16 @@ empathy_roster_model_manager_new (EmpathyIndividualManager *manager)
       NULL);
 }
 
+static GList *
+empathy_roster_model_manager_get_individuals (EmpathyRosterModel *model)
+{
+  EmpathyRosterModelManager *self = EMPATHY_ROSTER_MODEL_MANAGER (model);
+
+  return empathy_individual_manager_get_members (self->priv->manager);
+}
+
 static void
 roster_model_iface_init (EmpathyRosterModelInterface *iface)
 {
+  iface->get_individuals = empathy_roster_model_manager_get_individuals;
 }