From 736807e3c658aee559cb3d41413e775023d29c51 Mon Sep 17 00:00:00 2001 From: Davyd Madeley Date: Fri, 24 Apr 2009 14:25:27 +0800 Subject: Expose channel group flags via EmpathyContactList iface --- libempathy/empathy-contact-list.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libempathy/empathy-contact-list.c') 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; + } +} -- cgit v1.2.3