Re: incompatible pointer warning
- From: Raj <ringuva novell com>
- To: poonam chokshi <poonam13 gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: incompatible pointer warning
- Date: Wed, 27 Apr 2005 15:54:07 +0530
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]