[Vala] Problems with goocanvas bindings



Hello,
I'm new to vala and just tried out goocanvas.
However the bindings or vala seem to behave weird.

That's the output of my c compiler:
valac app.vala mainwindow.vala table.vala --pkg=goocanvas --pkg=gtk+-2.0
--pkg=glib-2.0 -o critago
table.c: In function ‘critago_table_constructor’:
table.c:52: warning: assignment from incompatible pointer type

And that is the application's output:
(critago:13679): GLib-GObject-WARNING **: IA__g_object_set_valist:
object class `GooCanvasRect' has no property named `\u0003'

(critago:13679): GLib-GObject-WARNING **: gtype.c:2524: invalid class
pointer `0x81b59d8'

I have attached the source.
Any idea what I'm doing wrong here?

Andreas

Attachment: table.vala
Description: Text Data



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