Commit 0b086ecd authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

made the value_desc and value_help members const, just as the

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

	* libgimpbase/gimpbasetypes.h
	(struct GimpEnumDesc)
	(struct GimpFlagsDesc): made the value_desc and value_help members
	const, just as the corresponding GEnumValue and GFlagsValue
	members. This is technically an API change but shouldn't hurt
	since it totally reflects how they are used.


svn path=/trunk/; revision=26855
parent aa7c3e3b
2008-09-04 Michael Natterer <mitch@gimp.org>
* libgimpbase/gimpbasetypes.h
(struct GimpEnumDesc)
(struct GimpFlagsDesc): made the value_desc and value_help members
const, just as the corresponding GEnumValue and GFlagsValue
members. This is technically an API change but shouldn't hurt
since it totally reflects how they are used.
2008-09-04 Michael Natterer <mitch@gimp.org>
* plug-ins/color-rotate/color-rotate-callbacks.c
......
......@@ -45,16 +45,16 @@ typedef void (* GimpDatafileLoaderFunc) (const GimpDatafileData *file_data,
struct _GimpEnumDesc
{
gint value;
gchar *value_desc;
gchar *value_help;
gint value;
const gchar *value_desc;
const gchar *value_help;
};
struct _GimpFlagsDesc
{
guint value;
gchar *value_desc;
gchar *value_help;
guint value;
const gchar *value_desc;
const gchar *value_help;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment