The following function yields the warning, compiled with '-Wall': dataentry.c: In function `edit_changed': dataentry.c:21: warning: assignment discards qualifiers from pointer target type The code snippet: void edit_changed (GtkWidget *widget, gpointer *data) { gchar *str; >> str = gtk_entry_get_text (GTK_ENTRY (widget)); << g_print ("Entry changed to %s\n", str); } IIRC, this compiled without warning in gtk+-1.2, but not in gtk+-2.4. What is it that being discarded here, and/or what is the correct way to assign gtk_entry_get_text(etc.)? Thanks, Bill Tallman _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list