Re: [Vala] Problems with connectors

On Sun, Jul 24, 2011 at 11:53:19AM +0200, Fred van Zwieten wrote:
Yes, I tried that too, but still no go:

    private bool on_button_pressed(Goo.CanvasItem Item, Gdk.Event Event) {
//        ...

scrapbook2.vala:29.41-29.57: error: Argument 1: Cannot convert from
`ScrapItem.on_button_pressed' to `Goo.CanvasItem.button_press_event'

That documentation is old, now it uses Gdk.EventButton :P

Anyway, that error message must be improved eheh.

-- - The Universal Operating System

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