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



   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]