diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-05-15 11:21:23 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-05-15 11:21:23 +0200 |
commit | b2ff86741c744f149647464c6c02c14f0b9fbc6c (patch) | |
tree | 4b834f2e0e95ada12e15d6d3f432a36939f2b202 | |
parent | 3aee2e32431bf35c4b4437cb6ffec5b53d895f62 (diff) | |
download | telepathy-haze-b2ff86741c744f149647464c6c02c14f0b9fbc6c.tar.gz |
protocol: get_avatar_details() now returns a boolean
-rw-r--r-- | src/protocol.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/protocol.c b/src/protocol.c index 9781fab..5216bf1 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -1002,7 +1002,7 @@ haze_protocol_dup_authentication_types (TpBaseProtocol *base) return g_strdupv ((GStrv) types); } -static void +static gboolean haze_protocol_get_avatar_details (TpBaseProtocol *base, GStrv *supported_mime_types, guint *min_height, @@ -1029,12 +1029,14 @@ haze_protocol_get_avatar_details (TpBaseProtocol *base, *max_height = 0; *max_width = 0; *max_bytes = 0; - return; + return FALSE; } haze_connection_get_icon_spec_requirements (icon_spec, supported_mime_types, min_height, min_width, rec_height, rec_width, max_height, max_width, max_bytes); + + return TRUE; } static void |