Commit 6bcd478d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

keep the context colors always opaque. Fixes bug #120912.

2003-08-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontext.c (gimp_context_real_set_foreground)
	(gimp_context_real_set_background): keep the context colors always
	opaque. Fixes bug #120912.
parent 08e8072f
2003-08-28 Sven Neumann <sven@gimp.org>
* app/core/gimpcontext.c (gimp_context_real_set_foreground)
(gimp_context_real_set_background): keep the context colors always
opaque. Fixes bug #120912.
2003-08-28 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/image.pdb: removed a historical enum constraint
......@@ -1957,6 +1957,7 @@ gimp_context_real_set_foreground (GimpContext *context,
return;
context->foreground = *color;
gimp_rgb_set_alpha (&context->foreground, GIMP_OPACITY_OPAQUE);
g_object_notify (G_OBJECT (context), "foreground");
gimp_context_foreground_changed (context);
......@@ -2006,6 +2007,7 @@ gimp_context_real_set_background (GimpContext *context,
return;
context->background = *color;
gimp_rgb_set_alpha (&context->background, GIMP_OPACITY_OPAQUE);
g_object_notify (G_OBJECT (context), "background");
gimp_context_background_changed (context);
......
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