make a string pointer const.

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

	* app/core/gimp-modules.c (gimp_modules_unload): make a string
	pointer const.


svn path=/trunk/; revision=26927
This commit is contained in:
Michael Natterer
2008-09-11 17:19:07 +00:00
committed by Michael Natterer
parent 3095df7ebd
commit af9817b466
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-09-11 Michael Natterer <mitch@gimp.org>
* app/core/gimp-modules.c (gimp_modules_unload): make a string
pointer const.
2008-09-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-regex.[ch]: namespace, copyright

View File

@ -179,7 +179,7 @@ gimp_modules_unload (Gimp *gimp)
{
GimpConfigWriter *writer;
GString *str;
gchar *p;
const gchar *p;
gchar *filename;
GError *error = NULL;