diff options
-rw-r--r-- | libempathy-gtk/empathy-roster-model-manager.c | 9 | ||||
-rw-r--r-- | libempathy-gtk/empathy-roster-model.c | 21 | ||||
-rw-r--r-- | libempathy-gtk/empathy-roster-model.h | 5 |
3 files changed, 0 insertions, 35 deletions
diff --git a/libempathy-gtk/empathy-roster-model-manager.c b/libempathy-gtk/empathy-roster-model-manager.c index a7d952af7..bf0f9064a 100644 --- a/libempathy-gtk/empathy-roster-model-manager.c +++ b/libempathy-gtk/empathy-roster-model-manager.c @@ -399,19 +399,10 @@ empathy_roster_model_manager_get_groups_for_individual ( return groups_list; } -static GList * -empathy_roster_model_manager_get_top_individuals (EmpathyRosterModel *model) -{ - EmpathyRosterModelManager *self = EMPATHY_ROSTER_MODEL_MANAGER (model); - - return empathy_individual_manager_get_top_individuals (self->priv->manager); -} - static void roster_model_iface_init (EmpathyRosterModelInterface *iface) { iface->get_individuals = empathy_roster_model_manager_get_individuals; iface->get_groups_for_individual = empathy_roster_model_manager_get_groups_for_individual; - iface->get_top_individuals = empathy_roster_model_manager_get_top_individuals; } diff --git a/libempathy-gtk/empathy-roster-model.c b/libempathy-gtk/empathy-roster-model.c index 31cc4251f..269aba243 100644 --- a/libempathy-gtk/empathy-roster-model.c +++ b/libempathy-gtk/empathy-roster-model.c @@ -135,24 +135,3 @@ empathy_roster_model_get_groups_for_individual (EmpathyRosterModel *self, return (* iface->get_groups_for_individual) (self, individual); } - -/** - * empathy_roster_model_get_top_individuals: - * @self: a #EmpathyRosterModel - * - * Returns a list of the top_individuals. - * - * Returns: (transfer none): a #GList of #FolksIndividual - */ -GList * -empathy_roster_model_get_top_individuals (EmpathyRosterModel *self) -{ - EmpathyRosterModelInterface *iface; - - g_return_val_if_fail (EMPATHY_IS_ROSTER_MODEL (self), NULL); - - iface = EMPATHY_ROSTER_MODEL_GET_IFACE (self); - g_return_val_if_fail (iface->get_top_individuals != NULL, NULL); - - return (* iface->get_top_individuals) (self); -} diff --git a/libempathy-gtk/empathy-roster-model.h b/libempathy-gtk/empathy-roster-model.h index 71b204231..dd8288eca 100644 --- a/libempathy-gtk/empathy-roster-model.h +++ b/libempathy-gtk/empathy-roster-model.h @@ -24,8 +24,6 @@ #include <folks/folks.h> -#include <libempathy-gtk/empathy-roster-contact.h> - G_BEGIN_DECLS #define EMPATHY_ROSTER_MODEL_GROUP_TOP_GROUP _("Top Contacts") @@ -44,7 +42,6 @@ struct _EmpathyRosterModelInterface GList * (* get_individuals) (EmpathyRosterModel *self); GList * (*get_groups_for_individual) (EmpathyRosterModel *self, FolksIndividual *individual); - GList * (*get_top_individuals) (EmpathyRosterModel *self); }; GType empathy_roster_model_get_type (void); @@ -84,8 +81,6 @@ GList * empathy_roster_model_get_groups_for_individual ( EmpathyRosterModel *self, FolksIndividual *individual); -GList * empathy_roster_model_get_top_individuals (EmpathyRosterModel *self); - G_END_DECLS #endif /* #ifndef __EMPATHY_ROSTER_MODEL_H__*/ |