Re: off topic question
- From: Allin Cottrell <cottrell wfu edu>
- To: Jeffrey Goddard <moosewood mooseroot org>
- Cc: GTK Developement List <gtk-app-devel-list gnome org>
- Subject: Re: off topic question
- Date: Fri, 26 Jul 2002 13:02:49 -0400 (EDT)
On Fri, 26 Jul 2002, Jeffrey Goddard wrote:
ok, i realize this is probably off topic, but can someone explain what the
compiler is trying to tell me about these statements?
callbacks.c:27: warning: assignment discards qualifiers from pointer
target type
gchar *filename;
filename = gtk_file_selection_get_filename(GTK_FILE_SELECTION(file_select_box));
Make that "const *gchar filename". You're not allowed to mess with
the string returned by gtk_file_selection_get_filename().
Allin Cottrell.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]