diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-10 20:23:08 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-26 21:36:49 +0800 |
commit | 18bb89fb5a48eff9afb0e826feff740db5d8a479 (patch) | |
tree | b9736a37ca376b4a9d6e2c9ee472a7cfdd112ff4 | |
parent | 09dfb1223c619498c4ef29567d34ba43b8c455b9 (diff) | |
download | gsoc2013-empathy-18bb89fb5a48eff9afb0e826feff740db5d8a479.tar gsoc2013-empathy-18bb89fb5a48eff9afb0e826feff740db5d8a479.tar.gz gsoc2013-empathy-18bb89fb5a48eff9afb0e826feff740db5d8a479.tar.bz2 gsoc2013-empathy-18bb89fb5a48eff9afb0e826feff740db5d8a479.tar.lz gsoc2013-empathy-18bb89fb5a48eff9afb0e826feff740db5d8a479.tar.xz gsoc2013-empathy-18bb89fb5a48eff9afb0e826feff740db5d8a479.tar.zst gsoc2013-empathy-18bb89fb5a48eff9afb0e826feff740db5d8a479.zip |
account-settings: add _supports_sasl function
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-rw-r--r-- | libempathy/empathy-account-settings.c | 8 | ||||
-rw-r--r-- | libempathy/empathy-account-settings.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index d7a202eed..35aa15b43 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -1562,3 +1562,11 @@ empathy_account_settings_get_tp_protocol (EmpathyAccountSettings *self) return tp_connection_manager_get_protocol (priv->manager, priv->protocol); } + +gboolean +empathy_account_settings_supports_sasl (EmpathyAccountSettings *self) +{ + EmpathyAccountSettingsPriv *priv = GET_PRIV (self); + + return priv->supports_sasl; +} diff --git a/libempathy/empathy-account-settings.h b/libempathy/empathy-account-settings.h index 7b1a4d6f9..d92a59598 100644 --- a/libempathy/empathy-account-settings.h +++ b/libempathy/empathy-account-settings.h @@ -177,6 +177,8 @@ gboolean empathy_account_settings_is_valid (EmpathyAccountSettings *settings); const TpConnectionManagerProtocol * empathy_account_settings_get_tp_protocol ( EmpathyAccountSettings *settings); +gboolean empathy_account_settings_supports_sasl (EmpathyAccountSettings *self); + G_END_DECLS #endif /* #ifndef __EMPATHY_ACCOUNT_SETTINGS_H__*/ |