Re: [Vala] [PATCH] Error in libglade-2.0 binding



Hi again.

I see my patch has been reverted since it didn't actually bind the
existing "signal" var.

Still, the problem persists since the syntax clashes with the reserved
word for signal in Vala.

As I'm still not acquainted with the binding methods in Vala, I'm not
sure this patch would be the right one to fix the problem. Does the
cname modifier work to indicate a keyword replacement in the binding?

2007/8/17, Francisco Camenforte Torres <fct dev gmail com>:
Trying to compile a libglade example I made, I get this error:

gladesample.vala:8.8-8.8: error: syntax error, unexpected ., expecting ] or ","

I changed the name as reflected in the patch to make it work. Also
grepped the vapi directory for more "string signal" declarations and
found no further errors like that.

Hope it helps.


Attachment: libgladefix.patch
Description: Binary data



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