diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-07-22 12:56:28 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-07-27 13:09:27 +0100 |
commit | 46e51a7bf9fb685338bbdc1bfea6ad6d327a8628 (patch) | |
tree | b554d9b33263246d7e124a37b0e78aa1b7125a38 /telepathy-glib/channel.c | |
parent | 79a1c390a9dbfb4169202dfb1e01b4705bf72fdf (diff) | |
download | telepathy-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.c | 7 |
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; |