--- Begin Message ---
The problem arises when using the package gdk-x11-2.0

$ cat test.vala
void main(string[] args)
{
        Gtk.init(ref args);
        var window = new Gtk.Window(0);
        window.realize();
        uint32 xid = Gdk.x11_drawable_get_xid(window.window);
        print("The WID is %h", xid);
        window.show_all();
        Gtk.main();
}

$ valac test.vala --pkg gtk+-2.0 --pkg gdk-x11-2.0
x11.vapi:295.2-295.32: error: The base type `Gdk.Drawable` of struct
`X.Window` is not a struct
        public struct Window : Drawable {
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)


On Tue, Jan 26, 2010 at 12:47 PM, pancake <[email protected]> wrote:
> Can you provide a testcase? i was unable to reproduce it last time, so the
> bug should be reopened.
>
> Sandino Flores Moreno wrote:
>>
>> x11.vapi:295.2-295.32: error: The base type `Gdk.Drawable` of struct
>> `X.Window` is not a struct
>>        public struct Window : Drawable {
>>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Compilation failed: 1 error(s), 0 warning(s)
>> _______________________________________________
>> Vala-list mailing list
>> [email protected]
>> http://mail.gnome.org/mailman/listinfo/vala-list
>>
>>
>
>


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

Reply via email to