gimp r27252 - in trunk: . app/gegl



Author: mitch
Date: Sun Oct 12 23:09:25 2008
New Revision: 27252
URL: http://svn.gnome.org/viewvc/gimp?rev=27252&view=rev

Log:
2008-10-13  Michael Natterer  <mitch gimp org>

	* app/gegl/gimp-gegl-utils.c (gimp_layer_mode_to_gegl_operation):
	remove warning because the missing layer modes are now
	"implemented", ha ha.



Modified:
   trunk/ChangeLog
   trunk/app/gegl/gimp-gegl-utils.c

Modified: trunk/app/gegl/gimp-gegl-utils.c
==============================================================================
--- trunk/app/gegl/gimp-gegl-utils.c	(original)
+++ trunk/app/gegl/gimp-gegl-utils.c	Sun Oct 12 23:09:25 2008
@@ -89,10 +89,6 @@
 const gchar *
 gimp_layer_mode_to_gegl_operation (GimpLayerModeEffects mode)
 {
-#ifdef __GNUC__
-#warning FIXME: add all layer modes as GEGL operations
-#endif
-
   switch (mode)
     {
     case GIMP_NORMAL_MODE:        return "normal";
@@ -118,6 +114,9 @@
     case GIMP_GRAIN_EXTRACT_MODE: return "gimp-grain-extract-mode";
     case GIMP_GRAIN_MERGE_MODE:   return "gimp-grain-merge-mode";
     case GIMP_COLOR_ERASE_MODE:   return "gimp-color-erase-mode";
+    case GIMP_ERASE_MODE:         return "gimp-erase-mode";
+    case GIMP_REPLACE_MODE:       return "gimp-replace-mode";
+    case GIMP_ANTI_ERASE_MODE:    return "gimp-anti-erase-mode";
     default:
       break;
     }



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