Hi Cyrille,

and this is my callback in Vala code:
> public uint32 cb (ValaObj obj, int value) {
>                this = obj;
> ...
> }
> it works fine with 0.8.1 and throw exception with 0.10 :
> error: unsupported lvalue in assignment
> May someone could help me,
> thanks in advance,
> Cyrille.
>
> I believe you are not allowed to assign to "this".  Without seeing more
code, it is hard to tell what you are trying to do.  Why do you need to
assign "this"?  Why can't you just call public methods on obj?

Hope that helps,

Rob
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to