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>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_load_script):

View File

@ -39,11 +39,11 @@ typedef void (* ExportFunc) (gint32 imageID,
/* the export action structure */
typedef struct
{
ExportFunc default_action;
ExportFunc alt_action;
gchar *reason;
gchar *possibilities[2];
gint choice;
ExportFunc default_action;
ExportFunc alt_action;
const gchar *reason;
const gchar *possibilities[2];
gint choice;
} ExportAction;