Hi,

Gdk.Event e = Gdk.Event(Gdk.EventType.MOTION_NOTIFY);

=== creates:

GdkEvent*;
GdkEvent _tmp4 = {0};
e = (gdk_event_new (&_tmp4, GDK_MOTION_NOTIFY), _tmp4);

=== which results in:

error: incompatible type for argument 1 of `gdk_event_new'
error: too many arguments to function `gdk_event_new'
 
Is there a way to workaround this, tried using pointers but its still no-go, 
maybe because GdkEvent is a struct .

---
Also,

According to docs
"GdkEvent should be freed with gdk_event_free()"
but the bindings does not define that.

Should I file a bug on both?

10x
MihailNaydneov

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to