]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact-list.c
Merge branch 'master' into tp-tube
[empathy.git] / libempathy / empathy-contact-list.c
index f0c8826e56558835b2f3e973a0b6eaf84425714c..1fe894e99619bf21689489b4f05f62c3903f1688 100644 (file)
@@ -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)
 {