summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-15 11:18:54 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-15 11:18:54 +0200
commit6514428869653c25f7cd2ffcf4c8e6c52fc67349 (patch)
tree0ea688e1fc86a57a4437463e6fcde978e5ec3b40
parent753666976801c7b8042c35fccacef72384bb89a2 (diff)
downloadtelepathy-salut-6514428869653c25f7cd2ffcf4c8e6c52fc67349.tar.gz
protocol: get_avatar_details() now returns a boolean
-rw-r--r--src/protocol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/protocol.c b/src/protocol.c
index 5be7250c..7cac2511 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 *