summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-07-22 12:56:28 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2009-07-27 13:09:27 +0100
commit46e51a7bf9fb685338bbdc1bfea6ad6d327a8628 (patch)
treeb554d9b33263246d7e124a37b0e78aa1b7125a38 /telepathy-glib/channel.c
parent79a1c390a9dbfb4169202dfb1e01b4705bf72fdf (diff)
downloadtelepathy-glib-46e51a7bf9fb685338bbdc1bfea6ad6d327a8628.tar.gz
Look for qualified properties in immutable a{sv}
TpChannel was looking up "InitiatorHandle" where it should have been looking up "org.freedesktop.Telepathy.Channel.InitiatorHandle". This failed, and meant that TpChannel always called GetAll() on channels, even if you used tp_channel_new_from_properties() in an attempt to avoid this happening.
Diffstat (limited to 'telepathy-glib/channel.c')
-rw-r--r--telepathy-glib/channel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/telepathy-glib/channel.c b/telepathy-glib/channel.c
index e9750b3dd..a853cb142 100644
--- a/telepathy-glib/channel.c
+++ b/telepathy-glib/channel.c
@@ -858,13 +858,14 @@ _tp_channel_get_properties (TpChannel *self)
{
gboolean valid;
- tp_asv_get_uint32 (self->priv->channel_properties, "InitiatorHandle",
- &valid);
+ tp_asv_get_uint32 (self->priv->channel_properties,
+ TP_IFACE_CHANNEL ".InitiatorHandle", &valid);
if (!valid)
goto missing;
- tp_asv_get_boolean (self->priv->channel_properties, "Requested", &valid);
+ tp_asv_get_boolean (self->priv->channel_properties,
+ TP_IFACE_CHANNEL ".Requested", &valid);
if (!valid)
goto missing;