gimp r26855 - in trunk: . libgimpbase



Author: mitch
Date: Thu Sep  4 11:07:12 2008
New Revision: 26855
URL: http://svn.gnome.org/viewvc/gimp?rev=26855&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/libgimpbase/gimpbasetypes.h

Modified: trunk/libgimpbase/gimpbasetypes.h
==============================================================================
--- trunk/libgimpbase/gimpbasetypes.h	(original)
+++ trunk/libgimpbase/gimpbasetypes.h	Thu Sep  4 11:07:12 2008
@@ -45,16 +45,16 @@
 
 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;
 };
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]