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;
}

-- 
http://www.debian.org - The Universal Operating System

Attachment: signature.asc
Description: Digital signature

_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to