[Vala] Bug in gtk+-2.0.vapi



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]