GNOME Bugzilla – Bug 785207
(array length=length) and (out caller-allocates) not handled properly for return values
Last modified: 2018-01-27 12:04:34 UTC
Calling GData.ContactsContact.get_photo() always results in the error: Gjs-Message: JS ERROR: Unsupported type guint64 for (out caller-allocates) I posted a related question on SO: https://stackoverflow.com/q/45227317/1108697 As I understand it there is an annotation error in the GIR for this package.
get_photo() already has an (array length=length) annotation for its return value: > * Return value: (transfer full) (array length=length): the image data, or %NULL; free with g_free() So as far as I understand it, this is a GJS bug.
Oh, I missed that it was on the return value. In that case, you're probably right.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gjs/issues/106.