Re: [Vala] Genie error !
- From: Nicolas <c r n a wanadoo fr>
- To: Alberto Colombo <a colombo kingston ac uk>, vala-list gnome org
- Subject: Re: [Vala] Genie error !
- Date: Fri, 22 May 2009 19:44:50 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]