mirror of https://github.com/GNOME/gimp.git
bail out if there is no config object.
2008-05-21 Michael Natterer <mitch@gimp.org> * app/gegl/gimpoperationdesaturate.c (gimp_operation_desaturate_process): bail out if there is no config object. svn path=/trunk/; revision=25727
This commit is contained in:
parent
e86e003224
commit
37ff630992
|
@ -1,3 +1,9 @@
|
|||
2008-05-21 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gegl/gimpoperationdesaturate.c
|
||||
(gimp_operation_desaturate_process): bail out if there is no
|
||||
config object.
|
||||
|
||||
2008-05-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Add Desaturate as an image-map tool with live preview (bug #533808):
|
||||
|
|
|
@ -85,6 +85,9 @@ gimp_operation_desaturate_process (GeglOperation *operation,
|
|||
gfloat *src = in_buf;
|
||||
gfloat *dest = out_buf;
|
||||
|
||||
if (! config)
|
||||
return FALSE;
|
||||
|
||||
switch (config->mode)
|
||||
{
|
||||
case GIMP_DESATURATE_LIGHTNESS:
|
||||
|
|
Loading…
Reference in New Issue