[Telepathy-commits] [telepathy-glib/master] Debug if the ContactAttributeInterfaces property has an unexpected type
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Oct 7 06:38:24 PDT 2008
---
telepathy-glib/connection.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c
index b5348d1..538f624 100644
--- a/telepathy-glib/connection.c
+++ b/telepathy-glib/connection.c
@@ -261,6 +261,11 @@ got_contact_attribute_interfaces (TpProxy *proxy,
g_assert (self->priv->contact_attribute_interfaces == NULL);
self->priv->contact_attribute_interfaces = arr;
}
+ else
+ {
+ DEBUG ("%p: ContactAttributeInterfaces had wrong type %s, "
+ "ignoring", self, G_VALUE_TYPE_NAME (value));
+ }
}
else
{
--
1.5.6.5
More information about the Telepathy-commits
mailing list