aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorLaurent Contzen <lcontzen@gmail.com>2012-07-04 17:41:05 +0800
committerLaurent Contzen <lcontzen@gmail.com>2012-07-23 15:48:42 +0800
commit3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884 (patch)
tree8493148811e8888bffe3d17491562ce0bcda5390 /libempathy-gtk
parent2a6cc7b7710e6be6416365320a3417f360583af3 (diff)
downloadgsoc2013-empathy-3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884.tar
gsoc2013-empathy-3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884.tar.gz
gsoc2013-empathy-3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884.tar.bz2
gsoc2013-empathy-3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884.tar.lz
gsoc2013-empathy-3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884.tar.xz
gsoc2013-empathy-3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884.tar.zst
gsoc2013-empathy-3ba0b1109440fc6b1bd7f196c14aa5fe44ff1884.zip
empathy-roster-model-manager.c: implement empathy_roster_model_manager_get_individuals ()
https://bugzilla.gnome.org/show_bug.cgi?id=679868 https://bugzilla.gnome.org/show_bug.cgi?id=680302
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-roster-model-manager.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-model-manager.c b/libempathy-gtk/empathy-roster-model-manager.c
index c9b2620f8..b76a7a384 100644
--- a/libempathy-gtk/empathy-roster-model-manager.c
+++ b/libempathy-gtk/empathy-roster-model-manager.c
@@ -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;
}