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
This commit is contained in:

committed by
Michael Natterer

parent
aa7c3e3b97
commit
0b086ecdb8
@ -1,3 +1,12 @@
|
||||
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;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user