Re: [Vala] Some observation about chaining up constructors.
- From: Jürg Billeter <j bitron ch>
- To: Yu Feng <rainwoodman gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Some observation about chaining up constructors.
- Date: Wed, 19 Nov 2008 09:32:45 +0100
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 immediately removed.
Nice catch, fixed in r2033.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]