diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-09-19 11:57:21 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-09-19 13:01:11 +0200 |
commit | ca5fa44a7d74dc1450b0409bbf91c08c453a94df (patch) | |
tree | 084eeab76bee99f7ddbaa618aa4fd6e5c3919f5c /src | |
parent | b86989e548bbf5104c097ee1aeaaa20af3985f27 (diff) | |
download | telepathy-salut-ca5fa44a7d74dc1450b0409bbf91c08c453a94df.tar.gz |
protocol: claim that we implement Avatars
https://bugs.freedesktop.org/show_bug.cgi?id=69508
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/protocol.c b/src/protocol.c index 4295451b..453adf82 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -273,6 +273,18 @@ salut_protocol_finalize (GObject *object) G_OBJECT_CLASS (salut_protocol_parent_class)->finalize (object); } +static GPtrArray * +get_interfaces_array (TpBaseProtocol *self) +{ + GPtrArray *interfaces; + + interfaces = TP_BASE_PROTOCOL_CLASS ( + salut_protocol_parent_class)->get_interfaces_array (self); + + g_ptr_array_add (interfaces, TP_IFACE_PROTOCOL_INTERFACE_AVATARS); + + return interfaces; +} static void salut_protocol_class_init (SalutProtocolClass *klass) @@ -288,6 +300,7 @@ salut_protocol_class_init (SalutProtocolClass *klass) base_class->normalize_contact = normalize_contact; base_class->identify_account = identify_account; base_class->get_connection_details = get_connection_details; + base_class->get_interfaces_array = get_interfaces_array; object_class->get_property = salut_protocol_get_property; object_class->set_property = salut_protocol_set_property; |