aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-07-13 18:05:38 +0800
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-07-18 20:26:27 +0800
commit2e74f7c0c092d4930fe690085d76a6fbd7d27e29 (patch)
tree88bbbfc6095913028bcf1de698a41f803523214e /libempathy/empathy-utils.c
parent4c7c9410f125620408089ee95a20bd750b055e48 (diff)
downloadgsoc2013-empathy-2e74f7c0c092d4930fe690085d76a6fbd7d27e29.tar
gsoc2013-empathy-2e74f7c0c092d4930fe690085d76a6fbd7d27e29.tar.gz
gsoc2013-empathy-2e74f7c0c092d4930fe690085d76a6fbd7d27e29.tar.bz2
gsoc2013-empathy-2e74f7c0c092d4930fe690085d76a6fbd7d27e29.tar.lz
gsoc2013-empathy-2e74f7c0c092d4930fe690085d76a6fbd7d27e29.tar.xz
gsoc2013-empathy-2e74f7c0c092d4930fe690085d76a6fbd7d27e29.tar.zst
gsoc2013-empathy-2e74f7c0c092d4930fe690085d76a6fbd7d27e29.zip
Move SASL mechanism implementations into its own file
We could have other account providers than GOA requiring this SASL code. https://bugzilla.gnome.org/show_bug.cgi?id=680160
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r--libempathy/empathy-utils.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index ccaf955e4..cc518c0b0 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -1121,21 +1121,6 @@ while_finish:
*can_video_call = can_video;
}
-gboolean
-empathy_sasl_channel_supports_mechanism (TpChannel *channel,
- const gchar *mechanism)
-{
- GHashTable *props;
- const gchar * const *available_mechanisms;
-
- props = tp_channel_borrow_immutable_properties (channel);
- available_mechanisms = tp_asv_get_boxed (props,
- TP_PROP_CHANNEL_INTERFACE_SASL_AUTHENTICATION_AVAILABLE_MECHANISMS,
- G_TYPE_STRV);
-
- return tp_strv_contains (available_mechanisms, mechanism);
-}
-
static FolksIndividual *
create_individual_from_persona (FolksPersona *persona)
{