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

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


Module: telepathy-gabble
Branch: next
Commit: 1ba6638396a0a2f45a9fe1e6fa5c801b7a248c6e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=1ba6638396a0a2f45a9fe1e6fa5c801b7a248c6e

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Thu May 15 11:17:18 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 3f790d1..277f34b 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -436,7 +436,7 @@ addressing_normalize_contact_uri (TpBaseProtocol *self,
   return normalized_address;
 }
 
-static void
+static gboolean
 get_avatar_details (TpBaseProtocol *base,
     GStrv *supported_mime_types,
     guint *min_height,
@@ -449,6 +449,8 @@ get_avatar_details (TpBaseProtocol *base,
 {
   gabble_connection_dup_avatar_requirements (supported_mime_types, min_height,
       min_width, rec_height, rec_width, max_height, max_width, max_bytes);
+
+  return TRUE;
 }
 
 static void



More information about the telepathy-commits mailing list