Re: [Vala] error with arraylist and class
- From: Marco Trevisan (Treviño) <mail 3v1n0 net>
- To: vala-list gnome org
- Subject: Re: [Vala] error with arraylist and class
- Date: Wed, 23 Mar 2011 12:52:30 +0100
Il giorno lun, 21/03/2011 alle 21.10 +0100, Pavol Klačanský ha scritto:
Hi, this line reports me error
"Feed" is class
"public Gee.ArrayList<Feed?> get_all_feeds() {"
this error
server.vala:44.9-44.28: error: GVariant serialization of type
`Gee.ArrayList<Feed?>' is not supported
public Gee.ArrayList<Feed?> get_all_feeds() {
Is that method into a dbus object? In that case the return type should
be gvariant serializable (and in this case it could be an array of Feed)
to work. If you don't want to export the method do dbus, make it private
or dbus visible=false.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]