Re: [Vala] poppler binding problems



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]