Re: [Vala] Genie error !

2009-05-22 Thread Alberto Colombo
Hi, quoting from [1]: init blocks do not have any parameters. A construct block is used to define a creation method which requires parameters. You need to use new PoppleSample(), without parameters. If you need to pass some parameters, then you need to define a construct block.

Re: [Vala] Genie error !

2009-05-22 Thread Nicolas
Hi, Thank you it's works ! I simply add this: sample.PopplerSample(args[1]) Thanks again, Nicolas. Hi, quoting from [1]: init blocks do not have any parameters. A construct block is used to define a creation method which requires parameters. You need to use new