diff options
author | Laurent Contzen <lcontzen@gmail.com> | 2012-08-04 18:30:08 +0800 |
---|---|---|
committer | Laurent Contzen <lcontzen@gmail.com> | 2012-08-06 17:02:18 +0800 |
commit | 93da7465f929f0cb950adb76e7b645f5ff23f1ad (patch) | |
tree | e7cfded0d5e989ff40d1e29d84b31c259b2fe81c /libempathy-gtk/empathy-roster-model.h | |
parent | e0542a641adc30e04255b1eb561bbcd6e0b17da2 (diff) | |
download | gsoc2013-empathy-93da7465f929f0cb950adb76e7b645f5ff23f1ad.tar gsoc2013-empathy-93da7465f929f0cb950adb76e7b645f5ff23f1ad.tar.gz gsoc2013-empathy-93da7465f929f0cb950adb76e7b645f5ff23f1ad.tar.bz2 gsoc2013-empathy-93da7465f929f0cb950adb76e7b645f5ff23f1ad.tar.lz gsoc2013-empathy-93da7465f929f0cb950adb76e7b645f5ff23f1ad.tar.xz gsoc2013-empathy-93da7465f929f0cb950adb76e7b645f5ff23f1ad.tar.zst gsoc2013-empathy-93da7465f929f0cb950adb76e7b645f5ff23f1ad.zip |
Added new function _get_top_individuals in the model
empathy-roster-model: new function _get_top_individuals
empathy-roster-model-manager: implemented _get_top_individuals
empathy-roster-view: uses the roster-model's _get_top_individuals instead of the individual-manager's
Diffstat (limited to 'libempathy-gtk/empathy-roster-model.h')
-rw-r--r-- | libempathy-gtk/empathy-roster-model.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-model.h b/libempathy-gtk/empathy-roster-model.h index 9d6000893..860efd77f 100644 --- a/libempathy-gtk/empathy-roster-model.h +++ b/libempathy-gtk/empathy-roster-model.h @@ -38,6 +38,7 @@ 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); @@ -76,6 +77,8 @@ GList * empathy_roster_model_get_individuals (EmpathyRosterModel *self); 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__*/ |