This is my piece of code

 Mykeytxt=lookup_widget(VCTG,"keytxt");
gtk_entry_set_text(Mykeytxt, strkeyval);

This gives me the warnings as callbacks.c:429: warning: passing arg 1 of `gtk_entry_get_text' from
incompatible
pointer type

You must have declared Mykeytxt to be a pointer to GtkWidget. To remove your warning, you can try this: gtk_entry_set_text(GTK_ENTRY(Mykeytxt), strkeyval);

Raj
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to