Re: -----Why this error info turn up?



Thanks indeed,
the method works

I feel that is very strange.
I already define label as

Widget label[12];

at the beginning of the file.

Bob Zhao,

Inguva Rajasekhar ??:

1053 gtk_container_add (GTK_CONTAINER (button
[index]), label [index]);


Typecast label[index] as widget type. i.e,
gtk_container_add(GTK_CONTAINER(button[index]), GTK_WIDGET(label[index]));

I guess that should remove the warning.

Regards,
Raj







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