aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-chandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-chandler.c')
-rw-r--r--libempathy/empathy-chandler.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/libempathy/empathy-chandler.c b/libempathy/empathy-chandler.c
index 3586e97a4..2ebbde968 100644
--- a/libempathy/empathy-chandler.c
+++ b/libempathy/empathy-chandler.c
@@ -129,9 +129,14 @@ empathy_chandler_handle_channel (EmpathyChandler *chandler,
TpChan *tp_chan;
TpConn *tp_conn;
- tp_conn = tp_conn_new (tp_get_bus (),
- bus_name,
- connection);
+ tp_conn = tp_conn_new_without_connect (tp_get_bus (),
+ bus_name,
+ connection,
+ NULL,
+ error);
+ if (!tp_conn) {
+ return FALSE;
+ }
tp_chan = tp_chan_new (tp_get_bus(),
bus_name,