summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-03-08 13:27:02 +0100
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-03-12 14:07:50 +0100
commit72f640053a59783c6f5e7f09be12e372806ac452 (patch)
treecbb68509f2f04d57b53b9f7b91bbd2eff91ae0f8
parent2d01efa2235a521fb6568d1fb072f79847befca4 (diff)
Use TP constant for ChannelType
-rw-r--r--telepathy-logger/channel-text.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c
index c3700c058..d00fa2847 100644
--- a/telepathy-logger/channel-text.c
+++ b/telepathy-logger/channel-text.c
@@ -607,11 +607,11 @@ pendingproc_get_pending_messages (TplActionChain *ctx,
{
TplChannelText *chan_text = tpl_actionchain_get_object (ctx);
- if (tp_proxy_has_interface (chan_text,
- "org.freedesktop.Telepathy.Channel.Interface.Messages"))
+ if (tp_proxy_has_interface_by_id (chan_text,
+ TP_IFACE_QUARK_CHANNEL_INTERFACE_MESSAGES))
tp_cli_dbus_properties_call_get (chan_text, -1,
- "org.freedesktop.Telepathy.Channel.Interface.Messages",
- "PendingMessages", got_message_pending_messages_cb, ctx, NULL, NULL);
+ TP_IFACE_CHANNEL_INTERFACE_MESSAGES, "PendingMessages",
+ got_message_pending_messages_cb, ctx, NULL, NULL);
else
tp_cli_channel_type_text_call_list_pending_messages (TP_CHANNEL (chan_text),
-1, FALSE, got_text_pending_messages_cb, ctx, NULL, NULL);