aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-list.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:19 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:19 +0800
commit0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070 (patch)
treeeb869a9fcde213fa89dfd2e5cbaff1eb6360b816 /libempathy/empathy-contact-list.c
parentf154530d5eb65cbe2f1af899e0b30d7b665f7575 (diff)
downloadgsoc2013-empathy-0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070.tar
gsoc2013-empathy-0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070.tar.gz
gsoc2013-empathy-0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070.tar.bz2
gsoc2013-empathy-0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070.tar.lz
gsoc2013-empathy-0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070.tar.xz
gsoc2013-empathy-0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070.tar.zst
gsoc2013-empathy-0004ebaad62474cfa2eb5f5c6bf8f29b6e6e4070.zip
Add an EmpathyContactMonitor object to monitor changes in the contact
list. svn path=/trunk/; revision=2050
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)
{