[Vala] [Bindings] GdkEven broken
- From: Mihail Naydenov <mlists ymail com>
- To: vala <vala-list gnome org>
- Subject: [Vala] [Bindings] GdkEven broken
- Date: Fri, 17 Oct 2008 08:02:35 -0700 (PDT)
Hi,
Gdk.Event e = Gdk.Event(Gdk.EventType.MOTION_NOTIFY);
=== creates:
GdkEvent*;
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]