Re: [Vala] Some observation about chaining up constructors.

2008-11-19 Thread Jürg Billeter
Hi Yu, On Wed, 2008-11-19 at 01:52 -0500, Yu Feng wrote: > I was trying to chain up some class constructors for non-GObject classes with > 0.5.1/0.4.0. > > The following code is generated. The instance is created twice. > If I change the parent class to GObject, the extra create_instance is > i

[Vala] Some observation about chaining up constructors.

2008-11-18 Thread Yu Feng
Hi. I was trying to chain up some class constructors for non-GObject classes with 0.5.1/0.4.0. The following code is generated. The instance is created twice. If I change the parent class to GObject, the extra create_instance is immediately removed. DOMAttr* dom_attr_construct (GType obje