diff options
author | Laurent Contzen <lcontzen@gmail.com> | 2012-08-07 22:28:21 +0800 |
---|---|---|
committer | Laurent Contzen <lcontzen@gmail.com> | 2012-08-07 22:41:51 +0800 |
commit | 44472802c9c232f7ab6639af2e0a88b090016671 (patch) | |
tree | 445ce217b743f96d602ff20f87e9f58b4f7da42a /libempathy-gtk/empathy-roster-model-manager.c | |
parent | 5ff0b2f71b6516b399deb732bfe0124e32a8a7bf (diff) | |
download | gsoc2013-empathy-44472802c9c232f7ab6639af2e0a88b090016671.tar gsoc2013-empathy-44472802c9c232f7ab6639af2e0a88b090016671.tar.gz gsoc2013-empathy-44472802c9c232f7ab6639af2e0a88b090016671.tar.bz2 gsoc2013-empathy-44472802c9c232f7ab6639af2e0a88b090016671.tar.lz gsoc2013-empathy-44472802c9c232f7ab6639af2e0a88b090016671.tar.xz gsoc2013-empathy-44472802c9c232f7ab6639af2e0a88b090016671.tar.zst gsoc2013-empathy-44472802c9c232f7ab6639af2e0a88b090016671.zip |
Moved _contact_in_top from the model to the view
empathy-roster-model and empathy-roster-model-manager: removed _contact_in_top
empathy-roster-view: added new function contact_in_top and modified functions to use it
Diffstat (limited to 'libempathy-gtk/empathy-roster-model-manager.c')
-rw-r--r-- | libempathy-gtk/empathy-roster-model-manager.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libempathy-gtk/empathy-roster-model-manager.c b/libempathy-gtk/empathy-roster-model-manager.c index 0668db1d8..a7d952af7 100644 --- a/libempathy-gtk/empathy-roster-model-manager.c +++ b/libempathy-gtk/empathy-roster-model-manager.c @@ -407,20 +407,6 @@ empathy_roster_model_manager_get_top_individuals (EmpathyRosterModel *model) return empathy_individual_manager_get_top_individuals (self->priv->manager); } -static gboolean -empathy_roster_model_manager_contact_in_top (EmpathyRosterModel *model, - EmpathyRosterContact *contact) -{ - FolksIndividual *individual; - EmpathyRosterModelManager *self; - - self = EMPATHY_ROSTER_MODEL_MANAGER (model); - - individual = empathy_roster_contact_get_individual (contact); - - return individual_in_top_group_members (self, individual); -} - static void roster_model_iface_init (EmpathyRosterModelInterface *iface) { @@ -428,5 +414,4 @@ roster_model_iface_init (EmpathyRosterModelInterface *iface) iface->get_groups_for_individual = empathy_roster_model_manager_get_groups_for_individual; iface->get_top_individuals = empathy_roster_model_manager_get_top_individuals; - iface->contact_in_top = empathy_roster_model_manager_contact_in_top; } |