[Vala] [Genie] is this a bug ?

2010-09-23 Thread Nicolas
Hi, I'm developping a program and i made a mistake in my code, i think i found a bug. If i call my gtk window class test and in this class i create a gtk button named test, vala does not report an error, only gcc. Test program: [indent=4] // Build with valac --pkg gtk+-2.0 yourfile.gs

Re: [Vala] [Genie] is this a bug ?

2010-09-23 Thread Jiří Zárevúcky
Nicolas píše v Čt 23. 09. 2010 v 12:03 +0200: Hi, I'm developping a program and i made a mistake in my code, i think i found a bug. If i call my gtk window class test and in this class i create a gtk button named test, vala does not report an error, only gcc. That is a really unusual

[Vala] How should an array be dynamically allocated?

2010-09-23 Thread Charles Hixson
This is what I attempted: /**convert a string (of the form output by to_string) into the fields *of the current instance*/ voidstr2bib(string str) {inti=count(str, @$gs); stringsflds[]=newstring [i]; sflds=