Re: [Vala] panel_applet_construct not found.

2008-10-29 Thread Yu Feng
On Thu, 2008-10-30 at 07:21 +0100, Jürg Billeter wrote: > Hi Yu, > > On Wed, 2008-10-29 at 19:05 -0400, Yu Feng wrote: > > vala will try to call panel_applet_construct from my_applet_construct > > which doesn't exist. > > > > I had a short look into gtk+-2.0.vapi. There are a lot of such empty >

Re: [Vala] panel_applet_construct not found.

2008-10-29 Thread Jürg Billeter
Hi Yu, On Wed, 2008-10-29 at 19:05 -0400, Yu Feng wrote: > vala will try to call panel_applet_construct from my_applet_construct > which doesn't exist. > > I had a short look into gtk+-2.0.vapi. There are a lot of such empty > parameter constructors which implies some difficult in subclassing > w

[Vala] panel_applet_construct not found.

2008-10-29 Thread Yu Feng
I updated to vala 0.4.0 for my panel applet, and receive this error. It seems to be related to the new chaining _new functions. whenever the vapi file has something like namespace Panel { class Applet: Gtk.EventBox{ public Applet(); } } and I subclass it class MyApplet:Applet { public