[Vala] Compile error when using Cogl.Color



Hello!

I've got a following problem with my the compiler.

Given the code:

    using Cogl;

    void main()
    {
        var color = Color();
    }

valac generates an incorrect constructor call, i.e.
cogl_color_new(&some_temp_var)
as opposed to cogl_color_new() which is present in the cogl's header file.
This results in compile error. I've tested this both in 7.10 bundled
with Arch Linux and in HEAD from master. Am I'm missing something?

I appreciate your help,
Mike



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