[dbus-glib limitation] GetAvatarRequirements returns u instead of q
Submitted by Stefan Eilers
Assigned to Telepathy bugs list
Description
Checked Gabble version 0.7.12
The spec defines the following:
<arg direction="out" type="as">
tp:docstring
An array of supported MIME types (eg image/jpeg)
</tp:docstring>
</arg>
<arg direction="out" type="q">
tp:docstring
The minimum image width in pixels
</tp:docstring>
</arg>
<arg direction="out" type="q">
tp:docstring
The minimum image height in pixels
</tp:docstring>
</arg>
<arg direction="out" type="q">
tp:docstring
The maximum image width in pixels, or 0 if there is no limit
</tp:docstring>
</arg>
<arg direction="out" type="q">
tp:docstring
The maximum image height in pixels, or 0 if there is no limit
</tp:docstring>
</arg>
<arg direction="out" type="u">
tp:docstring
The maximum image size in bytes, or 0 if there is no limit
</tp:docstring>
</arg>
But I receive on the DBUS: method call sender=:1.261 -> dest=org.freedesktop.Telepathy.Connection.gabble.jabber.basyskom_40localhost_2fTelepathy path=/org/freedesktop/Telepathy/Connection/gabble/jabber/basyskom_40localhost_2fTelepathy; interface=org.freedesktop.Telepathy.Connection.Interface.Avatars; member=GetAvatarRequirements method return sender=:1.262 -> dest=:1.261 reply_serial=39 array [ string "image/png" string "image/jpeg" string "image/gif" ] uint32 32 uint32 32 uint32 96 uint32 96 uint32 8192