generate const arrays of const strings.

2006-04-06  Sven Neumann  <sven@gimp.org>

	* app/dialogs/authors.xsl: generate const arrays of const strings.

	* app/dialogs/authors.h: regenerated.
This commit is contained in:
Sven Neumann 2006-04-06 12:59:44 +00:00 committed by Sven Neumann
parent 37da566934
commit ffa79833dd
4 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2006-04-06 Sven Neumann <sven@gimp.org>
* app/dialogs/authors.xsl: generate const arrays of const strings.
* app/dialogs/authors.h: regenerated.
2006-04-06 Sven Neumann <sven@gimp.org>
* app/core/gimpcontext.c

View File

@ -1,7 +1,7 @@
/* NOTE: This file is autogenerated from authors.xml, do not edit it. */
static const gchar *authors[] =
static const gchar * const authors[] =
{
"Spencer Kimball",
"Peter Mattis",
@ -180,7 +180,7 @@ static const gchar *authors[] =
NULL
};
static const gchar *artists[] =
static const gchar * const artists[] =
{
"Tuomas Kuosmanen",
"Karl La Rocca",
@ -190,7 +190,7 @@ static const gchar *artists[] =
NULL
};
static const gchar *documenters[] =
static const gchar * const documenters[] =
{
"Carey Bunks",
"Michael Hammel",

View File

@ -11,7 +11,7 @@
<xsl:text>
/* NOTE: This file is autogenerated from authors.xml, do not edit it. */
static const gchar *authors[] =
static const gchar * const authors[] =
{
</xsl:text>
<xsl:apply-templates select="dc:creator" />
@ -21,7 +21,7 @@ static const gchar *authors[] =
</xsl:text>
<xsl:text>
static const gchar *artists[] =
static const gchar * const artists[] =
{
</xsl:text>
<xsl:apply-templates select="dc:contributor[contains(@role, 'artist')]" />
@ -30,7 +30,7 @@ static const gchar *artists[] =
</xsl:text>
<xsl:text>
static const gchar *documenters[] =
static const gchar * const documenters[] =
{
</xsl:text>
<xsl:apply-templates select="dc:contributor[contains(@role, 'documenter')]" />

View File

@ -305,7 +305,7 @@ static const GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_TOOL_ZOOM, NULL, 0, 0, LIBGIMP_DOMAIN }
};
static struct
static const struct
{
const gchar *stock_id;
gconstpointer inline_data;