fixed argument order for using GIMP_CONFIG_INSTALL_PROP_RGB().

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

	* app/core/gimpcontext.c: fixed argument order for using
	GIMP_CONFIG_INSTALL_PROP_RGB().
This commit is contained in:
Sven Neumann 2006-04-27 19:26:40 +00:00 committed by Sven Neumann
parent 0b9a9e4e88
commit 9120cb78c1
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2006-04-27 Sven Neumann <sven@gimp.org>
* app/core/gimpcontext.c: fixed argument order for using
GIMP_CONFIG_INSTALL_PROP_RGB().
2006-04-27 Sven Neumann <sven@gimp.org> 2006-04-27 Sven Neumann <sven@gimp.org>
* libgimpcolor/gimprgb.[ch]: hide the GimpParamSpecRGB struct * libgimpcolor/gimprgb.[ch]: hide the GimpParamSpecRGB struct
@ -16,7 +21,7 @@
Made the GimpParamSpecRGB struct public. When validating a color, Made the GimpParamSpecRGB struct public. When validating a color,
only look at the alpha channel if has_alpha is set. only look at the alpha channel if has_alpha is set.
* libgimpconfig/gimpconfig-params.h: added "has_alpha" to * libgimpconfig/gimpconfig-params.h: added "has_alpha" to the
GIMP_CONFIG_INSTALL_PROP_RGB macro definition. GIMP_CONFIG_INSTALL_PROP_RGB macro definition.
* libgimpconfig/gimpconfig-serialize.c: serialize color values as * libgimpconfig/gimpconfig-serialize.c: serialize color values as

View File

@ -580,14 +580,14 @@ gimp_context_class_init (GimpContextClass *klass)
GIMP_CONFIG_INSTALL_PROP_RGB (object_class, GIMP_CONTEXT_PROP_FOREGROUND, GIMP_CONFIG_INSTALL_PROP_RGB (object_class, GIMP_CONTEXT_PROP_FOREGROUND,
gimp_context_prop_names[GIMP_CONTEXT_PROP_FOREGROUND], gimp_context_prop_names[GIMP_CONTEXT_PROP_FOREGROUND],
FALSE, NULL, NULL,
&black, FALSE, &black,
GIMP_PARAM_STATIC_STRINGS); GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_RGB (object_class, GIMP_CONTEXT_PROP_BACKGROUND, GIMP_CONFIG_INSTALL_PROP_RGB (object_class, GIMP_CONTEXT_PROP_BACKGROUND,
gimp_context_prop_names[GIMP_CONTEXT_PROP_BACKGROUND], gimp_context_prop_names[GIMP_CONTEXT_PROP_BACKGROUND],
FALSE, NULL, NULL,
&white, FALSE, &white,
GIMP_PARAM_STATIC_STRINGS); GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, GIMP_CONTEXT_PROP_OPACITY, GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, GIMP_CONTEXT_PROP_OPACITY,