aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact-list.c')
-rw-r--r--libempathy/empathy-contact-list.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index f0c8826e5..1fe894e99 100644
--- a/libempathy/empathy-contact-list.c
+++ b/libempathy/empathy-contact-list.c
@@ -125,6 +125,18 @@ empathy_contact_list_get_members (EmpathyContactList *list)
return NULL;
}
+EmpathyContactMonitor *
+empathy_contact_list_get_monitor (EmpathyContactList *list)
+{
+ g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST (list), NULL);
+
+ if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->get_monitor) {
+ return EMPATHY_CONTACT_LIST_GET_IFACE (list)->get_monitor (list);
+ }
+
+ return NULL;
+}
+
GList *
empathy_contact_list_get_pendings (EmpathyContactList *list)
{