[Telepathy] [Bug 18202] Gabble returns the wrong return signature after calling " GetAvatarRequirements"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 24 04:48:46 PDT 2008


--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2008-10-24 04:48:46 PST ---
Damn. We might not even be able to solve this... it's almost certainly
dbus-glib's fault.

(dbus-glib doesn't differentiate between 16- and 32-bit integers - it maps them
both to G_TYPE_[U]INT - so it doesn't notice the difference. Python is also
very permissive about types, so we've never encountered this problem in GLib
and Python bindings...)

As a temporary workaround, don't bother calling GetAvatarRequirements, and just
assume something reasonable (64x64 JPEGs or PNGs should work on most protocols
for instance).

We could work around this service-side by adding an AvatarRequirements property
that avoids the problematic 16-bit types.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Telepathy mailing list