diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-11-13 21:16:15 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-11-13 21:16:15 +0800 |
commit | a30e85bc00d2e9b929f2871429fedfbbe6684bb4 (patch) | |
tree | 0f62efa4e6b1dcc5cf09be74b18e682c4a76c908 /libempathy/empathy-chandler.c | |
parent | bafbff4f82f0a2d94a460cfcd3d475f52df905db (diff) | |
download | gsoc2013-empathy-a30e85bc00d2e9b929f2871429fedfbbe6684bb4.tar gsoc2013-empathy-a30e85bc00d2e9b929f2871429fedfbbe6684bb4.tar.gz gsoc2013-empathy-a30e85bc00d2e9b929f2871429fedfbbe6684bb4.tar.bz2 gsoc2013-empathy-a30e85bc00d2e9b929f2871429fedfbbe6684bb4.tar.lz gsoc2013-empathy-a30e85bc00d2e9b929f2871429fedfbbe6684bb4.tar.xz gsoc2013-empathy-a30e85bc00d2e9b929f2871429fedfbbe6684bb4.tar.zst gsoc2013-empathy-a30e85bc00d2e9b929f2871429fedfbbe6684bb4.zip |
Do not use deprecated tp_conn_new(), use tp_conn_new_without_connect()
2007-11-13 Xavier Claessens <xclaesse@gmail.com>
* libempathy/empathy-chandler.c:
* libempathy/empathy-filter.c: Do not use deprecated tp_conn_new(), use
tp_conn_new_without_connect() instead.
svn path=/trunk/; revision=436
Diffstat (limited to 'libempathy/empathy-chandler.c')
-rw-r--r-- | libempathy/empathy-chandler.c | 11 |
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, |