Gobject constructor question

2007-09-04 Thread Binary Chen
Hi, I have a doubt of GObject's constructor machnism, do i need to explicit to invoke the parent's constructor in a chiild constructor? Thanks. Bin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Gobject constructor question

2007-09-04 Thread Peter Clifton
On Tue, 2007-09-04 at 20:34 +0800, Binary Chen wrote: I have a doubt of GObject's constructor machnism, do i need to explicit to invoke the parent's constructor in a chiild constructor? Yes, call that first, something along these lines: /* chain up to constructor of parent class */