GNOME Bugzilla – Bug 627070
Poppler.Action[...] are classes, but should be structs
Last modified: 2010-08-17 09:09:52 UTC
Created attachment 167984 [details] [review] Patch fix metadata for vapi generation Poppler.Action is a union of structs Poppler.ActionAny, Poppler.ActionGotoDest, etc. The current binding makes them classes which generates wrong C code. Added a patch fixing poppler-glib.metadata to make them structs.
Review of attachment 167984 [details] [review]: commit 1fdea31e0cc491c2afdd5b312360a410b859fb27 Author: Rumen Zarev <rumen.coding@gmail.com> Date: Tue Aug 17 11:02:43 2010 +0200 poppler-glib: Make PopplerAction* be structs without type id. Fixes bug 627070. Thanks for your patch, I've added has_type_id="0" because those structs aren't registered in the glib type system.