Re: [Vala] g_object_unref: assertion `G_IS_OBJECT (object)' failed

2012-12-12 Thread Simon Werbeck
On 12/12/2012 03:54 PM, r...@no-log.org wrote: Hello, Could you have a look to this code : http://pastebin.com/cscSFCEP My file name is template5.vala (yes, I've tried 4 times but without any success :p) --- # valac --pkg gee-1.0 template5.vala # template5 adding test2 s

Re: [Vala] Why Vala is slower than Mono?

2012-06-02 Thread Simon Werbeck
Am Samstag, den 02.06.2012, 15:47 +0200 schrieb pin...@centrum.cz: > I read that Vala is fast because it is translated to C and then compiled to > the machine code. I have been encouraged to find out how much Vala is faster > than Mono. So I made a speed test. > > The test program creates an a

Re: [Vala] Too many arguments in generated code

2012-04-05 Thread Simon Werbeck
/usr/local/include/skeltrack-0.1/skeltrack-joint.h:84:22: note: expected ‘SkeltrackJointId’ but argument is of type ‘struct SkeltrackJoint *’ I assume that you bound SkeltrackJoint as struct Skeltrack.Joint? In that case Vala will put the return value in the argument list: SomeStruct foo ()

[Vala] SDL Sample not compiling correctly

2011-10-16 Thread Simon Werbeck
Hi, I tried compiling the SDL Sample from http://live.gnome.org/Vala/SDLSample Compiling actually works without errors but when running, the application is not responding to events. I've already isolated the error, it seems that the code for the Event.poll() function is not correct: private v