[Vala] [ANNOUNCE] Vala 0.13.4 - Compiler for the GObject type system

2011-09-07 Thread Jürg Billeter
We are pleased to announce version 0.13.4 of Vala, a compiler for the GObject type system. Vala 0.13.4 is now available for download at: http://download.gnome.org/sources/vala/0.13/ Changes since 0.13.3 * Switch gudev-1.0 bindings to .gir. * Switch mx-1.0 bindings to .gir. * Many bug fixes

[Vala] Can constructors throw errors, cascade?

2011-09-07 Thread bsquared
Being new to both Vala and GObjects I hope you will forgive me if my questions are obvious. Is it acceptable for a constructor to throw an error. ie. public ResourceFile.from_file (string rc_filename) throws GLib.FileError { string sz_data;

Re: [Vala] Can constructors throw errors, cascade?

2011-09-07 Thread Luca Bruno
On Wed, Sep 7, 2011 at 6:02 PM, bsquared bwcod...@gmail.com wrote: Being new to both Vala and GObjects I hope you will forgive me if my questions are obvious. Is it acceptable for a constructor to throw an error. ie. public ResourceFile.from_file (string rc_filename) throws

[Vala] GIR parsing Error

2011-09-07 Thread Daniel Espinosa
Did I miss some thing? I have a Gda-4.0.gir file with the following entries: alias name=Error c:type=GdaError type name=GLib.Error c:type=GError/ /alias alias name=SList c:type=GdaSList type name=GLib.SList c:type=GSList/ /alias alias name=ValueList