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
+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.
+
2007-11-12 Xavier Claessens <xclaesse@gmail.com>
* configure.ac: Bump version to 0.21.3.
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,
priv = GET_PRIV (filter);
- 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,