[empathy] import-pidgin: use TpProtocol



commit 3ac64629dd8e6f52eafbb9eb76d41350d3c6bdd4
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jun 5 15:34:03 2012 +0200

    import-pidgin: use TpProtocol
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677465

 src/empathy-import-pidgin.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c
index 4de9bce..f50b183 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]