summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-contact-list.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-03-14 11:30:10 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-04-16 14:17:55 +0100
commit6a4dcc550765a57fa643692bb551080936c7d69c (patch)
treeced78f43c23ea3a5fed5952bebffe4e4e7c69fe2 /telepathy-glib/base-contact-list.c
parentf4df23f20c4a0737f7ed98786aeef543b62f22ed (diff)
downloadtelepathy-glib-6a4dcc550765a57fa643692bb551080936c7d69c.tar.gz
BaseContactList: track whether ContactBlocking is implemented
Diffstat (limited to 'telepathy-glib/base-contact-list.c')
-rw-r--r--telepathy-glib/base-contact-list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c
index 736783faa..08b4bf8a1 100644
--- a/telepathy-glib/base-contact-list.c
+++ b/telepathy-glib/base-contact-list.c
@@ -242,6 +242,7 @@ struct _TpBaseContactListPrivate
* the constructor and cleared when we lose @conn. */
gboolean svc_contact_list;
gboolean svc_contact_groups;
+ gboolean svc_contact_blocking;
};
struct _TpBaseContactListClassPrivate
@@ -535,6 +536,7 @@ tp_base_contact_list_free_contents (TpBaseContactList *self)
tp_clear_object (&self->priv->conn);
self->priv->svc_contact_list = FALSE;
self->priv->svc_contact_groups = FALSE;
+ self->priv->svc_contact_blocking = FALSE;
}
}
@@ -668,6 +670,8 @@ tp_base_contact_list_constructed (GObject *object)
TP_IS_SVC_CONNECTION_INTERFACE_CONTACT_LIST (self->priv->conn);
self->priv->svc_contact_groups =
TP_IS_SVC_CONNECTION_INTERFACE_CONTACT_GROUPS (self->priv->conn);
+ self->priv->svc_contact_blocking =
+ TP_IS_SVC_CONNECTION_INTERFACE_CONTACT_BLOCKING (self->priv->conn);
if (TP_IS_MUTABLE_CONTACT_LIST (self))
{