Thanks, that works. Added a patch to bugzilla to fix the bindings. https://bugzilla.gnome.org/show_bug.cgi?id=627070
-Rumen On 08/16/2010 05:08 AM, Luca Bruno wrote:
On Mon, Aug 16, 2010 at 02:44:43AM -0400, Rumen Zarev wrote:I'm learning vala and was playing with some code using poppler. I found the following problem. The type PopplerAction is defined in poppler-glib a union of ActionAny, ActionUri, and several others. The Vala bindings are: [Compact] [CCode (cheader_filename = "poppler.h")] public class ActionAny { public weak string title; public Poppler.ActionType type; }For all actions it should be like this: [CCode (cheader_filename = "poppler.h")] public struct ActionAny { public weak string title; public Poppler.ActionType type; }
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
