[next] telepathy-salut: protocol: get_avatar_details() now returns a boolean

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Thu May 15 04:52:10 PDT 2014


Module: telepathy-salut
Branch: next
Commit: 6514428869653c25f7cd2ffcf4c8e6c52fc67349
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=6514428869653c25f7cd2ffcf4c8e6c52fc67349

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Thu May 15 11:18:54 2014 +0200

protocol: get_avatar_details() now returns a boolean

---

 src/protocol.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/protocol.c b/src/protocol.c
index 5be7250..7cac251 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -272,7 +272,7 @@ salut_protocol_finalize (GObject *object)
     G_OBJECT_CLASS (salut_protocol_parent_class)->finalize (object);
 }
 
-static void
+static gboolean
 get_avatar_details (TpBaseProtocol *base,
     GStrv *supported_mime_types,
     guint *min_height,
@@ -285,6 +285,8 @@ get_avatar_details (TpBaseProtocol *base,
 {
   salut_connection_dup_avatar_requirements (supported_mime_types, min_height,
       min_width, rec_height, rec_width, max_height, max_width, max_bytes);
+
+  return TRUE;
 }
 
 static const TpPresenceStatusSpec *



More information about the telepathy-commits mailing list