telepathy-idle: Roomlist: use Text interface constant

Will Thompson wjt at kemper.freedesktop.org
Mon Oct 29 05:39:12 PDT 2012


Module: telepathy-idle
Branch: master
Commit: 7d8704d1b5a5451f1013039083bd85139d89b6f3
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=7d8704d1b5a5451f1013039083bd85139d89b6f3

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Sun Apr  8 10:54:04 2012 +0100

Roomlist: use Text interface constant

---

 src/idle-roomlist-channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/idle-roomlist-channel.c b/src/idle-roomlist-channel.c
index ca6f904..424ed06 100644
--- a/src/idle-roomlist-channel.c
+++ b/src/idle-roomlist-channel.c
@@ -349,7 +349,7 @@ _rpl_list_handler (IdleParser *parser,
 
   dbus_g_type_struct_set (&room,
       0, room_handle,
-      1, "org.freedesktop.Telepathy.Channel.Type.Text",
+      1, TP_IFACE_CHANNEL_TYPE_TEXT,
       2, keys,
       G_MAXUINT);
 



More information about the telepathy-commits mailing list