Re: [Vala] Bug in gtk+-2.0.vapi



Hi,
I've found another one in gtk+-2.0.vapi.
class Container
following is wrong
   public virtual void forall (Gtk.Callback callback, void* callback_data);

should be
    public virtual void forall (bool include_internals, Gtk.Callback callback);

Regards,
Uwe

2009/5/27 Uwe Strempel <u strempel googlemail com>
Hi,
I've found a bug in gtk+-2.0.vapi.
In class Widget.
I' think
size_allocate is wrong
before:

public virtual signal void size_allocate (Gtk.Allocation  allocation);

after change:
public virtual signal void size_allocate (ref Gtk.Allocation  allocation);

I don't know if signal works with ref, but the vala compiler creates const GtkAllocation * instead GtkAllocation.

Regards
Uwe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]