aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account-settings.c4
-rw-r--r--libempathy/empathy-account-settings.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 4d9795686..7e3a745be 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -1844,12 +1844,12 @@ empathy_account_settings_is_valid (EmpathyAccountSettings *settings)
return TRUE;
}
-const TpConnectionManagerProtocol *
+TpProtocol *
empathy_account_settings_get_tp_protocol (EmpathyAccountSettings *self)
{
EmpathyAccountSettingsPriv *priv = GET_PRIV (self);
- return tp_connection_manager_get_protocol (priv->manager, priv->protocol);
+ return priv->protocol_obj;
}
gboolean
diff --git a/libempathy/empathy-account-settings.h b/libempathy/empathy-account-settings.h
index 10ed3684f..25816131c 100644
--- a/libempathy/empathy-account-settings.h
+++ b/libempathy/empathy-account-settings.h
@@ -194,7 +194,7 @@ gboolean empathy_account_settings_parameter_is_valid (
gboolean empathy_account_settings_is_valid (EmpathyAccountSettings *settings);
-const TpConnectionManagerProtocol * empathy_account_settings_get_tp_protocol (
+TpProtocol * empathy_account_settings_get_tp_protocol (
EmpathyAccountSettings *settings);
gboolean empathy_account_settings_supports_sasl (EmpathyAccountSettings *self);