Re: [Vala] private fields vs bodyless properties

2008-05-31 Thread Jürg Billeter
On Sat, 2008-05-31 at 03:03 +0200, Hans Vercammen wrote: Thanks again for clearing things up. For cases where this is a performance issue, we're improving the support for non-GObject (but still GType-registered) classes, which follow more closely the C# and Java construction scheme.

[Vala] internal error: duplicating string[] instances not yet supported

2008-05-31 Thread gege2061
Hi, I have this strange error with this very simple code: src/preferences-dlg.vala:446.5-446.12: error: internal error: duplicating string[] instances not yet supported string[] fields = new string[3]; ** (valac:32524): CRITICAL **: vala_ccode_function_call_add_argument:

Re: [Vala] internal error: duplicating string[] instances not yet supported

2008-05-31 Thread Jürg Billeter
On Sat, 2008-05-31 at 20:26 +0200, gege2061 wrote: I have this strange error with this very simple code: src/preferences-dlg.vala:446.5-446.12: error: internal error: duplicating string[] instances not yet supported string[] fields = new string[3]; The error is not on this

Re: [Vala] internal error: duplicating string[] instances not yet supported

2008-05-31 Thread Jürg Billeter
On Sat, 2008-05-31 at 21:19 +0200, gege2061 wrote: Thank, but I do not see where I have ownership transfer: public void add () { string[] fields = new string[this.nb_colonne]; if (this.show (ref fields)) { Gtk.TreeIter iter; Gtk.ListStore list_store =