diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-10 20:23:08 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-10 20:23:08 +0800 |
commit | cf79884338c1a83eb3c7a18da9674f3563ed1829 (patch) | |
tree | 915bd4ce935e51d315c2f4be918c37b09032f543 | |
parent | e52ae339c601c4173b011ad28bcdca816649fd4c (diff) | |
download | gsoc2013-empathy-cf79884338c1a83eb3c7a18da9674f3563ed1829.tar gsoc2013-empathy-cf79884338c1a83eb3c7a18da9674f3563ed1829.tar.gz gsoc2013-empathy-cf79884338c1a83eb3c7a18da9674f3563ed1829.tar.bz2 gsoc2013-empathy-cf79884338c1a83eb3c7a18da9674f3563ed1829.tar.lz gsoc2013-empathy-cf79884338c1a83eb3c7a18da9674f3563ed1829.tar.xz gsoc2013-empathy-cf79884338c1a83eb3c7a18da9674f3563ed1829.tar.zst gsoc2013-empathy-cf79884338c1a83eb3c7a18da9674f3563ed1829.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 75538e26e..c1452ac68 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -1672,3 +1672,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 8f3634a19..4d5f6ddc9 100644 --- a/libempathy/empathy-account-settings.h +++ b/libempathy/empathy-account-settings.h @@ -189,6 +189,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__*/ |