On 06/03/2008, Campbell Barton <[EMAIL PROTECTED]> wrote: > Hi, just tried compiling http://live.gnome.org/Vala/CairoSample > ./valac test.vala --pkg gtk+-2.0 --pkg cairo -o cairo-demo > > /media/data/render/vala/bin/test.vala:33.13-33.24: error: Too many > arguments, method `Cairo.Context.set_dash' does not take 3 arguments > /media/data/render/vala/bin/test.vala:36.13-36.24: error: Too many > arguments, method `Cairo.Context.set_dash' does not take 3 arguments > Compilation failed: 2 error(s), 0 warning(s)
It looks like there used to be a mistake in the Cairo binding that's now been fixed. The issue is that the second parameter used to be the length of the array (the first parameter), but that is now set automatically by Vala. I'll change the sample, just as soon as I check why there is still a warning when it does compile. -- Phil Housley _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
