summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-contact-list.c
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2012-03-20 11:58:50 +0000
committerAlban Crequy <alban.crequy@collabora.co.uk>2012-03-27 17:46:48 +0100
commit3e0b118737007410230ba5ada721747a8818eeea (patch)
treeed296bb29db1e9a68d7fc06b818983b9961ae262 /telepathy-glib/base-contact-list.c
parent8bde24822f73aeb9ec66f719d3066673d41d1c08 (diff)
downloadtelepathy-glib-3e0b118737007410230ba5ada721747a8818eeea.tar.gz
ContactList: implement helper tp_base_contact_list_get_download_at_connection
https://bugs.freedesktop.org/show_bug.cgi?id=43826
Diffstat (limited to 'telepathy-glib/base-contact-list.c')
-rw-r--r--telepathy-glib/base-contact-list.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c
index fcdc069b2..ed3a64dec 100644
--- a/telepathy-glib/base-contact-list.c
+++ b/telepathy-glib/base-contact-list.c
@@ -3156,6 +3156,20 @@ tp_base_contact_list_get_contact_list_persists (TpBaseContactList *self)
}
/**
+ * tp_base_contact_list_get_download_at_connection:
+ * @self: a contact list manager
+ *
+ * Returns: the download-at-connection property
+ *
+ * Since: 0.UNRELEASED
+ */
+gboolean
+tp_base_contact_list_get_download_at_connection (TpBaseContactList *self)
+{
+ return self->priv->download_at_connection;
+}
+
+/**
* tp_base_contact_list_download_async:
* @self: a contact list manager
* @callback: a callback to call when the operation succeeds or fails