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.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.c')
-rw-r--r-- | libempathy-gtk/empathy-roster-model.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libempathy-gtk/empathy-roster-model.c b/libempathy-gtk/empathy-roster-model.c index f1e596029..31cc4251f 100644 --- a/libempathy-gtk/empathy-roster-model.c +++ b/libempathy-gtk/empathy-roster-model.c @@ -156,28 +156,3 @@ empathy_roster_model_get_top_individuals (EmpathyRosterModel *self) return (* iface->get_top_individuals) (self); } - -/** - * empathy_roster_model_contact_in_top: - * @self: a #EmpathyRosterModel - * @contact: a #EmpathyRosterContact - * - * Checks if the passed #EmpathyRosterContact should be displayed in - * top contacts. - * - * Returns: %TRUE if it should be displayed in top contacts, %FALSE - * if not - */ -gboolean -empathy_roster_model_contact_in_top (EmpathyRosterModel *self, - EmpathyRosterContact *contact) -{ - EmpathyRosterModelInterface *iface; - - g_return_val_if_fail (EMPATHY_IS_ROSTER_MODEL (self), FALSE); - - iface = EMPATHY_ROSTER_MODEL_GET_IFACE (self); - g_return_val_if_fail (iface->contact_in_top != NULL, FALSE); - - return (* iface->contact_in_top) (self, contact); -} |