diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-02-17 23:59:31 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-22 18:21:11 +0800 |
commit | b2b4d55d61b8f290c148b07de37b49be22a4dcd6 (patch) | |
tree | a7a703aa3983e4305633d0a4bbf3499454a76389 | |
parent | 28c28af87c8973cb60b925dcc2c547b7b00ed76a (diff) | |
download | gsoc2013-empathy-b2b4d55d61b8f290c148b07de37b49be22a4dcd6.tar gsoc2013-empathy-b2b4d55d61b8f290c148b07de37b49be22a4dcd6.tar.gz gsoc2013-empathy-b2b4d55d61b8f290c148b07de37b49be22a4dcd6.tar.bz2 gsoc2013-empathy-b2b4d55d61b8f290c148b07de37b49be22a4dcd6.tar.lz gsoc2013-empathy-b2b4d55d61b8f290c148b07de37b49be22a4dcd6.tar.xz gsoc2013-empathy-b2b4d55d61b8f290c148b07de37b49be22a4dcd6.tar.zst gsoc2013-empathy-b2b4d55d61b8f290c148b07de37b49be22a4dcd6.zip |
Drop usage of McAccount from EmpathyTpTube
-rw-r--r-- | libempathy/empathy-tp-tube.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libempathy/empathy-tp-tube.c b/libempathy/empathy-tp-tube.c index 64e45962d..5979615ef 100644 --- a/libempathy/empathy-tp-tube.c +++ b/libempathy/empathy-tp-tube.c @@ -254,8 +254,6 @@ empathy_tp_tube_new_stream_tube (EmpathyContact *contact, const gchar *service, GHashTable *parameters) { - MissionControl *mc; - McAccount *account; TpConnection *connection; TpChannel *channel; gchar *object_path; @@ -272,12 +270,7 @@ empathy_tp_tube_new_stream_tube (EmpathyContact *contact, g_return_val_if_fail (hostname != NULL, NULL); g_return_val_if_fail (service != NULL, NULL); - mc = empathy_mission_control_dup_singleton (); - account = empathy_contact_get_account (contact); - connection = mission_control_get_tpconnection (mc, account, NULL); - g_object_unref (mc); - - tp_connection_run_until_ready (connection, FALSE, NULL, NULL); + connection = empathy_contact_get_connection (contact); request = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, (GDestroyNotify) tp_g_value_slice_free); |