Mmm, no you didn't. :-)

Gdk.Allocation allocation;
this.get_allocation(out allocation);

This is admittedly more awkward and Gtk.Widget.get_allocation has the right
type signature in C to return, but this binding works too.

On 19 December 2014 at 10:27, Flavio Danesse <fdane...@gmail.com> wrote:
>
> *Hi, I just wanted to comment that I found a major bug in gtk:*
>
> error: invocation of void method not allowed as expression
> Gdk.Rectangle rect = this.get_allocation();
>                              ^^^^^^^^^^^^^^^^^^^^^
> _______________________________________________
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>


-- 
--Andre Masella<an...@masella.name>
http://www.masella.name/
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to