[Vala] [Fwd: Re: Issue still in master [The base type `Gdk.Drawable` of struct `X.Window` is not a struct]]
- From: pancake <pancake youterm com>
- To: Vala ML <vala-list gnome org>
- Subject: [Vala] [Fwd: Re: Issue still in master [The base type `Gdk.Drawable` of struct `X.Window` is not a struct]]
- Date: Tue, 26 Jan 2010 19:59:02 +0100
--- Begin Message ---
- From: Sandino Flores Moreno <tigrux gmail com>
- To: pancake <pancake youterm com>
- Subject: Re: [Vala] Issue still in master [The base type `Gdk.Drawable` of struct `X.Window` is not a struct]
- Date: Tue, 26 Jan 2010 12:58:06 -0600
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 <pancake youterm com> 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
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
--- End Message ---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]