Commit 37ff6309 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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
parent e86e0032
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:
......
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