diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-05-18 09:44:58 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-05-18 09:44:58 +0100 |
commit | cbab12ac2e777652abf71c8b512632ce0a47f58f (patch) | |
tree | bf294932cd946a3004db912c8a4545320a3dd2bd | |
parent | 7225b6a3af1ef5ea49912b1ffbfdcd5ff7b53b9e (diff) |
muc-channel: use TP_PROP more than appending the property to an iface namecheerio-tubes
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | src/muc-channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c index 8ed693c06..4e81ee1c2 100644 --- a/src/muc-channel.c +++ b/src/muc-channel.c @@ -1973,20 +1973,20 @@ gabble_muc_channel_tube_request (GabbleMucChannel *self, tube_id = generate_tube_id (self); channel_type = tp_asv_get_string (request_properties, - TP_IFACE_CHANNEL ".ChannelType"); + TP_PROP_CHANNEL_CHANNEL_TYPE); if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAM_TUBE)) { type = TP_TUBE_TYPE_STREAM; service = tp_asv_get_string (request_properties, - TP_IFACE_CHANNEL_TYPE_STREAM_TUBE ".Service"); + TP_PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE); } else if (! tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_DBUS_TUBE)) { type = TP_TUBE_TYPE_DBUS; service = tp_asv_get_string (request_properties, - TP_IFACE_CHANNEL_TYPE_DBUS_TUBE ".ServiceName"); + TP_PROP_CHANNEL_TYPE_DBUS_TUBE_SERVICE_NAME); } else /* This assertion is safe: this function's caller only calls it in one of |