mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
08e8072f22
commit
6bcd478dd4
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2003-08-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tools/pdbgen/pdb/image.pdb: removed a historical enum constraint
|
* tools/pdbgen/pdb/image.pdb: removed a historical enum constraint
|
||||||
|
|
|
@ -1957,6 +1957,7 @@ gimp_context_real_set_foreground (GimpContext *context,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
context->foreground = *color;
|
context->foreground = *color;
|
||||||
|
gimp_rgb_set_alpha (&context->foreground, GIMP_OPACITY_OPAQUE);
|
||||||
|
|
||||||
g_object_notify (G_OBJECT (context), "foreground");
|
g_object_notify (G_OBJECT (context), "foreground");
|
||||||
gimp_context_foreground_changed (context);
|
gimp_context_foreground_changed (context);
|
||||||
|
@ -2006,6 +2007,7 @@ gimp_context_real_set_background (GimpContext *context,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
context->background = *color;
|
context->background = *color;
|
||||||
|
gimp_rgb_set_alpha (&context->background, GIMP_OPACITY_OPAQUE);
|
||||||
|
|
||||||
g_object_notify (G_OBJECT (context), "background");
|
g_object_notify (G_OBJECT (context), "background");
|
||||||
gimp_context_background_changed (context);
|
gimp_context_background_changed (context);
|
||||||
|
|
Loading…
Reference in New Issue