[Vala] Is this a bindings issue?



Hi,

I have a code snippet like this:

item = CanvasImage.create(root,pixbuf,x,y);
item.title = "test";

According to valadoc
(http://valadoc.org/references/goocanvas/0.11.5/Goo.CanvasItem.title.html)
i should be able to do this, but the gcc compiler complains:


scrapbook2.vala.c:(.text+0xaa7): undefined reference to
`goo_canvas_item_set_title'

(CanvasItem is the interface for CanvasImage)

Any suggestions on what I'm doing wrong here?

O, btw code like this:

item = CanvasImage.create(root,pixbuf,x,y,"title","test");

does work, but I need to be able to update through the setter, don't I?

Greetz,
Fred



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