ximion / appstream-generator

A fast AppStream metadata generator
GNU Lesser General Public License v3.0
44 stars 29 forks source link

Fix compilation due to broken generated GdkPixbuf code #90

Closed Vild closed 3 years ago

Vild commented 3 years ago

Gir-to-d tries to handle the return value of 'gdk_pixdata_from_pixbuf' as if it is zero-terminated. Which causes it to try to use 'getArrayLength' on a void*, causing a compilation error. Temporary fix for now is to just not export that function.

Additionally, Add missing include for 'FILE*' that GdkPixbufModule needs inside 'girepo/gdkpixbuf/c/types.d'.

ximion commented 3 years ago

Nice, thank you! :-)