aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-05 21:34:03 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-06 17:33:25 +0800
commit3ac64629dd8e6f52eafbb9eb76d41350d3c6bdd4 (patch)
tree661c517f0f9dfd5d1d9b32f25b76d95bd16d085e /src
parent899be9904bd53eb37bee357f22ecdb434f1e28b0 (diff)
downloadgsoc2013-empathy-3ac64629dd8e6f52eafbb9eb76d41350d3c6bdd4.tar.gz
gsoc2013-empathy-3ac64629dd8e6f52eafbb9eb76d41350d3c6bdd4.tar.zst
gsoc2013-empathy-3ac64629dd8e6f52eafbb9eb76d41350d3c6bdd4.zip
import-pidgin: use TpProtocol
https://bugzilla.gnome.org/show_bug.cgi?id=677465
Diffstat (limited to 'src')
-rw-r--r--src/empathy-import-pidgin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c
index 4de9bce96..f50b18365 100644
--- a/src/empathy-import-pidgin.c
+++ b/src/empathy-import-pidgin.c
@@ -144,7 +144,7 @@ import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
else if (!tp_strdiff (type, "int"))
{
TpConnectionManager *cm = NULL;
- const TpConnectionManagerProtocol *proto;
+ TpProtocol *proto;
const TpConnectionManagerParam *param;
const gchar *signature;
int signature_i;
@@ -152,8 +152,8 @@ import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
if (!empathy_import_protocol_is_supported (data->protocol, &cm))
return;
- proto = tp_connection_manager_get_protocol (cm, data->protocol);
- param = tp_connection_manager_protocol_get_param (proto, item->cm_name);
+ proto = tp_connection_manager_get_protocol_object (cm, data->protocol);
+ param = tp_protocol_get_param (proto, item->cm_name);
signature = tp_connection_manager_param_get_dbus_signature (param);
signature_i = (int) (*signature);