make string members const.

2008-09-11  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpexport.c (struct ExportAction): make string members
	const.


svn path=/trunk/; revision=26924
This commit is contained in:
Michael Natterer 2008-09-11 11:49:13 +00:00 committed by Michael Natterer
parent 53d82016bc
commit 5b8abde69f
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2008-09-11 Michael Natterer <mitch@gimp.org>
* libgimp/gimpexport.c (struct ExportAction): make string members
const.
2008-09-11 Michael Natterer <mitch@gimp.org> 2008-09-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_load_script): * plug-ins/script-fu/script-fu-scripts.c (script_fu_load_script):

View File

@ -41,8 +41,8 @@ typedef struct
{ {
ExportFunc default_action; ExportFunc default_action;
ExportFunc alt_action; ExportFunc alt_action;
gchar *reason; const gchar *reason;
gchar *possibilities[2]; const gchar *possibilities[2];
gint choice; gint choice;
} ExportAction; } ExportAction;