incompatible pointer warning



hello,,

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
callbacks.c:429: warning: assignment discards qualifiers from pointer
target type

what is wrong with it if i am not passing the gtkwidget than it will
not set my value in the textbox and i am using this in some function
that do need the reference of the keytxt text entry..........

How should i go with it to remove the warnings ???



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