diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2010-12-15 14:38:27 +0000 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2010-12-15 14:42:40 +0000 |
commit | 96c98cfc3a7f59d0c04573098e498503b4ae4a47 (patch) | |
tree | 3ae79d8868adef88c6eb26b7abc79a1c6078c4a7 /src/protocol.c | |
parent | fd3166fc69faa317c2d7d9f9770c6471d57e5a8d (diff) |
protocol: implement TpBaseProtocolClass->dup_authentication_types
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/protocol.c b/src/protocol.c index 45d960b..d9c2383 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -439,6 +439,17 @@ get_connection_details (TpBaseProtocol *self, } } +static GStrv +dup_authentication_types (TpBaseProtocol *base) +{ + const gchar * const types[] = { + TP_IFACE_CHANNEL_INTERFACE_SASL_AUTHENTICATION, + NULL + }; + + return g_strdupv ((GStrv) types); +} + static void tpsip_protocol_get_property (GObject *object, guint property_id, @@ -494,6 +505,7 @@ tpsip_protocol_class_init (TpsipProtocolClass *klass) base_class->identify_account = identify_account; base_class->get_interfaces = get_interfaces; base_class->get_connection_details = get_connection_details; + base_class->dup_authentication_types = dup_authentication_types; object_class->get_property = tpsip_protocol_get_property; object_class->set_property = tpsip_protocol_set_property; |