]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-request-util.c
prefix Telepathy bus names with TP_
[empathy.git] / libempathy / empathy-request-util.c
index c5f693f04734c7cb9497faf1434a3418bc1d3675..280ff0f394591b50bd313f6a7a6d69710a320678 100644 (file)
@@ -22,6 +22,8 @@
 #include "config.h"
 #include "empathy-request-util.h"
 
+#include <telepathy-glib/telepathy-glib-dbus.h>
+
 #define DEBUG_FLAG EMPATHY_DEBUG_DISPATCHER
 #include "empathy-debug.h"
 
@@ -75,8 +77,9 @@ create_text_channel (TpAccount *account,
   req = tp_account_channel_request_new (account, request, timestamp);
   tp_account_channel_request_set_delegate_to_preferred_handler (req, TRUE);
 
-  tp_account_channel_request_ensure_channel_async (req, EMPATHY_CHAT_BUS_NAME,
-      NULL, callback ? callback : ensure_text_channel_cb, user_data);
+  tp_account_channel_request_ensure_channel_async (req,
+      EMPATHY_CHAT_TP_BUS_NAME, NULL,
+      callback ? callback : ensure_text_channel_cb, user_data);
 
   g_hash_table_unref (request);
   g_object_unref (req);