[Vala] structs and lists



Hi people :

Anybody can help me with this code ? I want to add a struct to a GList.
But....

valac --pkg glib-2.0 --pkg gtk+-2.0 -o struct struct.vala

struct.c: In function 'xclass_run':
struct.c:37: error: incompatible type for argument 2 of 'g_list_append'
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)

telemaco

Attachment: struct.vala
Description: Text Data



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