Re: [Vala] gtk 3 vapi bug?

2011-06-13 Thread Luca Bruno
On Mon, Jun 13, 2011 at 12:18:24PM +0800, Nor Jaidi Tuah wrote: > version: 0.12.1 > > The following: > var filter = new Gtk.FileFilter (); > filter.add_pattern ("*"); > filter.set_name (_("All files")); > > is compiled to: > _tmp2_ = gtk_file_filter_new (); > filter

[Vala] gtk 3 vapi bug?

2011-06-12 Thread Nor Jaidi Tuah
version: 0.12.1 The following: var filter = new Gtk.FileFilter (); filter.add_pattern ("*"); filter.set_name (_("All files")); is compiled to: _tmp2_ = gtk_file_filter_new (); filter = g_object_ref_sink (_tmp2_); gtk_file_filter_add_pattern (filter,