]> git.0d.be Git - empathy.git/commitdiff
add empathy_account_settings_param_is_supported()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 23 May 2011 10:20:47 +0000 (12:20 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 23 May 2011 10:20:47 +0000 (12:20 +0200)
libempathy/empathy-account-settings.c
libempathy/empathy-account-settings.h

index 4005d279031cde9aa1ec41ebde6f3f886ec89281..55af8f8f7013d0b2751e66c999becea8591a003a 100644 (file)
@@ -1785,3 +1785,12 @@ empathy_account_settings_supports_sasl (EmpathyAccountSettings *self)
 
   return priv->supports_sasl;
 }
+
+gboolean
+empathy_account_settings_param_is_supported (EmpathyAccountSettings *self,
+    const gchar *param)
+{
+  EmpathyAccountSettingsPriv *priv = GET_PRIV (self);
+
+  return tp_protocol_has_param (priv->protocol_obj, param);
+}
index 25f1d31557eab738cbaab3970e27bf4b0ffe0a05..80c30092eef77b15a5f0664670a9102092c371da 100644 (file)
@@ -196,6 +196,10 @@ const TpConnectionManagerProtocol * empathy_account_settings_get_tp_protocol (
 
 gboolean empathy_account_settings_supports_sasl (EmpathyAccountSettings *self);
 
+gboolean empathy_account_settings_param_is_supported (
+    EmpathyAccountSettings *self,
+    const gchar *param);
+
 G_END_DECLS
 
 #endif /* #ifndef __EMPATHY_ACCOUNT_SETTINGS_H__*/