aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-list.c
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-04-24 14:25:27 +0800
committerDavyd Madeley <davyd@madeley.id.au>2009-07-15 18:12:15 +0800
commit736807e3c658aee559cb3d41413e775023d29c51 (patch)
treec73bd752b6f1c6158aa513741abb706c25b6b07a /libempathy/empathy-contact-list.c
parentb39c5448563fe1313203884c9da04471817a999e (diff)
downloadgsoc2013-empathy-736807e3c658aee559cb3d41413e775023d29c51.tar
gsoc2013-empathy-736807e3c658aee559cb3d41413e775023d29c51.tar.gz
gsoc2013-empathy-736807e3c658aee559cb3d41413e775023d29c51.tar.bz2
gsoc2013-empathy-736807e3c658aee559cb3d41413e775023d29c51.tar.lz
gsoc2013-empathy-736807e3c658aee559cb3d41413e775023d29c51.tar.xz
gsoc2013-empathy-736807e3c658aee559cb3d41413e775023d29c51.tar.zst
gsoc2013-empathy-736807e3c658aee559cb3d41413e775023d29c51.zip
Expose channel group flags via EmpathyContactList iface
Diffstat (limited to 'libempathy/empathy-contact-list.c')
-rw-r--r--libempathy/empathy-contact-list.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index 1fe894e99..d9493af1e 100644
--- a/libempathy/empathy-contact-list.c
+++ b/libempathy/empathy-contact-list.c
@@ -229,3 +229,14 @@ empathy_contact_list_remove_group (EmpathyContactList *list,
}
}
+EmpathyContactListFlags
+empathy_contact_list_get_flags (EmpathyContactList *list)
+{
+ g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST (list), 0);
+
+ if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->get_flags) {
+ return EMPATHY_CONTACT_LIST_GET_IFACE (list)->get_flags (list);
+ } else {
+ return 0;
+ }
+}