Re: [Vala] Gee.ReadOnlyMap could not be found?



Hi,

[Cross-posting on gee-list gnome org]

san hoi wrote:
wizbit/commit.vala:63.10-63.41: error: The type name `Gee.ReadOnlyMap'
could not be found
                public Gee.ReadOnlyMap<string,Wiz.File> streams {

[...]

umm... Gee.HashMap is ok, but Gee.ReadOnlyMap is error.
ReadOnlyMap is deprecated?

Yeah ReadOnlyMap does not exist anymore. Use Gee.Map as type and use my_map.read_only_view to retrieve the read-only view for my_map.

See http://live.gnome.org/Libgee/NewAndNoteworthy-0.5
and http://live.gnome.org/Libgee/Migration-0.5

Best regards, Didier.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]