aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-29 20:09:26 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-02-14 09:07:06 +0800
commit20700ef6d7f72e7211195016335cac43ea2195e2 (patch)
treee79b4b8a4d4a65d780b1e4718be52e9830c3c2d6
parent57f786d197c61bf5bc914cadb33d9f1bfd50f264 (diff)
downloadgsoc2013-empathy-20700ef6d7f72e7211195016335cac43ea2195e2.tar
gsoc2013-empathy-20700ef6d7f72e7211195016335cac43ea2195e2.tar.gz
gsoc2013-empathy-20700ef6d7f72e7211195016335cac43ea2195e2.tar.bz2
gsoc2013-empathy-20700ef6d7f72e7211195016335cac43ea2195e2.tar.lz
gsoc2013-empathy-20700ef6d7f72e7211195016335cac43ea2195e2.tar.xz
gsoc2013-empathy-20700ef6d7f72e7211195016335cac43ea2195e2.tar.zst
gsoc2013-empathy-20700ef6d7f72e7211195016335cac43ea2195e2.zip
use TP_PROP_*
-rw-r--r--libempathy/empathy-tp-chat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index ae9a532d0..c1e911e65 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -155,13 +155,13 @@ tp_chat_add (EmpathyContactList *list,
object_path = tp_proxy_get_object_path (priv->channel);
props = tp_asv_new (
- TP_IFACE_CHANNEL ".ChannelType", G_TYPE_STRING,
+ TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
TP_IFACE_CHANNEL_TYPE_TEXT,
- TP_IFACE_CHANNEL ".TargetHandleType", G_TYPE_UINT,
+ TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
TP_HANDLE_TYPE_NONE,
- TP_IFACE_CHANNEL_INTERFACE_CONFERENCE ".InitialChannels",
+ TP_PROP_CHANNEL_INTERFACE_CONFERENCE_INITIAL_CHANNELS,
TP_ARRAY_TYPE_OBJECT_PATH_LIST, &channels,
- TP_IFACE_CHANNEL_INTERFACE_CONFERENCE ".InitialInviteeIDs",
+ TP_PROP_CHANNEL_INTERFACE_CONFERENCE_INITIAL_INVITEE_IDS,
G_TYPE_STRV, invitees,
/* FIXME: InvitationMessage ? */
NULL);
@@ -1320,7 +1320,7 @@ tp_chat_constructor (GType type,
const char **oprops = g_value_get_boxed (
g_value_array_get_nth (array, 1));
- if (tp_strv_contains (oprops, TP_IFACE_CHANNEL_INTERFACE_CONFERENCE ".InitialChannels")) {
+ if (tp_strv_contains (oprops, TP_PROP_CHANNEL_INTERFACE_CONFERENCE_INITIAL_CHANNELS)) {
priv->can_upgrade_to_muc = TRUE;
break;
}