Re: [Vala] Adding my custom object to libGee.List...
- From: Didier 'Ptitjes' <ptitjes free fr>
- To: Arkadi Viner <arkashkin gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Adding my custom object to libGee.List...
- Date: Sun, 20 Jun 2010 04:02:13 +0200
Hi,
On 06/19/10 23:48, Arkadi Viner wrote:
*so, the declaration look like this:*
private Gee.List pdfDocuments = new Gee.ArrayList<PdfDocument> ();
*and when I try to add some thing to it:*
pdfDocuments.add(new PdfDocument(file_chooser.get_filename ());
*I get compilation error:*
main.vala:99.13-99.24: error: missing generic type arguments
<b>Process return 256 execution time: 0.90 s</b>
I guess you have to make your declaration:
private Gee.List<PdfDocument> pdfDocuments =
new Gee.ArrayList<PdfDocument> ();
Best regards,
Didier.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]