diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-05-18 20:03:39 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-05-23 10:00:38 +0200 |
commit | 951c6fcf9292f451d3bd977dc90a01444db2c9f5 (patch) | |
tree | 808903299ff8337c5c8317643b7f686662e8387f /telepathy-glib/base-client.c | |
parent | 947b96fd587d13f657077f7e3479fb135bf38858 (diff) | |
download | telepathy-glib-951c6fcf9292f451d3bd977dc90a01444db2c9f5.tar.gz |
Deprecate tp_account_ensure_connection()
https://bugs.freedesktop.org/show_bug.cgi?id=49372
Diffstat (limited to 'telepathy-glib/base-client.c')
-rw-r--r-- | telepathy-glib/base-client.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c index 0704e2e20..bd4e2ed33 100644 --- a/telepathy-glib/base-client.c +++ b/telepathy-glib/base-client.c @@ -1729,7 +1729,8 @@ _tp_base_client_observe_channels (TpSvcClientObserver *iface, if (account == NULL) goto out; - connection = tp_account_ensure_connection (account, connection_path); + connection = tp_simple_client_factory_ensure_connection (self->priv->factory, + connection_path, NULL, NULL); if (connection == NULL) { g_set_error (&error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT, @@ -1949,7 +1950,8 @@ _tp_base_client_add_dispatch_operation (TpSvcClientApprover *iface, goto out; } - connection = tp_account_ensure_connection (account, path); + connection = tp_simple_client_factory_ensure_connection (self->priv->factory, + path, NULL, NULL); if (connection == NULL) { DEBUG ("Failed to create TpConnection"); @@ -2312,7 +2314,8 @@ _tp_base_client_handle_channels (TpSvcClientHandler *iface, if (account == NULL) goto out; - connection = tp_account_ensure_connection (account, connection_path); + connection = tp_simple_client_factory_ensure_connection (self->priv->factory, + connection_path, NULL, NULL); if (connection == NULL) { DEBUG ("Failed to create TpConnection"); |