gimp r25727 - in trunk: . app/gegl



Author: mitch
Date: Wed May 21 13:29:08 2008
New Revision: 25727
URL: http://svn.gnome.org/viewvc/gimp?rev=25727&view=rev

Log:
2008-05-21  Michael Natterer  <mitch gimp org>

	* app/gegl/gimpoperationdesaturate.c
	(gimp_operation_desaturate_process): bail out if there is no
	config object.



Modified:
   trunk/ChangeLog
   trunk/app/gegl/gimpoperationdesaturate.c

Modified: trunk/app/gegl/gimpoperationdesaturate.c
==============================================================================
--- trunk/app/gegl/gimpoperationdesaturate.c	(original)
+++ trunk/app/gegl/gimpoperationdesaturate.c	Wed May 21 13:29:08 2008
@@ -85,6 +85,9 @@
   gfloat                   *src    = in_buf;
   gfloat                   *dest   = out_buf;
 
+  if (! config)
+    return FALSE;
+
   switch (config->mode)
     {
     case GIMP_DESATURATE_LIGHTNESS:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]