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 PoppleSample(), without parameters. If you need to pass some parameters, then you need to define a "construct" block. Hope it was clear enough... cheers alberto [1] http://live.gnome.org/Genie#head-fa4a76035d436d5e8d25288f418324dc3f965696
_______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list