On Mon, 2007-04-16 at 14:32 -0700, William D. Tallman wrote: > assignment discards qualifiers from pointer target type > ... > gchar *str; > > str = gtk_entry_get_text (GTK_ENTRY (widget)); Return type of gtk_entry_get_text() is (const gchar*), not just (gchar*). You discarded the const qualifier when assigning the result to str. Just declare str with const. AfC Sydney
Attachment:
signature.asc
Description: This is a digitally signed message part