[gimp] libgimp, script-fu: remove GIMP 1.2 (sic) compat defines



commit 6aaa645e04d5dca99b700dc6039b02c96d457827
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 19 03:08:18 2014 +0200

    libgimp, script-fu: remove GIMP 1.2 (sic) compat defines
    
    which we wanted to remove in the "next development cycle" after 2.0,
    which would have been in 2.1.x.

 libgimp/Makefile.am                 |    2 -
 libgimp/gimpcompat.h                |  224 -----------------------------------
 plug-ins/script-fu/scheme-wrapper.c |   72 -----------
 3 files changed, 0 insertions(+), 298 deletions(-)
---
diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am
index f7c9964..16d21ec 100644
--- a/libgimp/Makefile.am
+++ b/libgimp/Makefile.am
@@ -184,7 +184,6 @@ PDB_WRAPPERS_H = \
 libgimp_sources = \
        gimp.c                  \
        gimp.h                  \
-       gimpcompat.h            \
        gimptypes.h             \
        gimpenums.h             \
        ${PDB_WRAPPERS_C}       \
@@ -316,7 +315,6 @@ libgimpui_ GIMP_API_VERSION@_la_SOURCES = \
 
 gimpinclude_HEADERS = \
        gimp.h                          \
-       gimpcompat.h                    \
        gimptypes.h                     \
        gimpenums.h                     \
        ${PDB_WRAPPERS_H}               \
diff --git a/plug-ins/script-fu/scheme-wrapper.c b/plug-ins/script-fu/scheme-wrapper.c
index af7c478..47eee14 100644
--- a/plug-ins/script-fu/scheme-wrapper.c
+++ b/plug-ins/script-fu/scheme-wrapper.c
@@ -131,78 +131,6 @@ static const NamedConstant const script_constants[] =
  */
 static const NamedConstant const old_constants[] =
 {
-  { "NORMAL",               GIMP_NORMAL_MODE       },
-  { "DISSOLVE",             GIMP_DISSOLVE_MODE     },
-  { "BEHIND",               GIMP_BEHIND_MODE       },
-  { "MULTIPLY",             GIMP_MULTIPLY_MODE     },
-  { "SCREEN",               GIMP_SCREEN_MODE       },
-  { "OVERLAY",              GIMP_OVERLAY_MODE      },
-  { "DIFFERENCE",           GIMP_DIFFERENCE_MODE   },
-  { "ADDITION",             GIMP_ADDITION_MODE     },
-  { "SUBTRACT",             GIMP_SUBTRACT_MODE     },
-  { "DARKEN-ONLY",          GIMP_DARKEN_ONLY_MODE  },
-  { "LIGHTEN-ONLY",         GIMP_LIGHTEN_ONLY_MODE },
-  { "HUE",                  GIMP_HUE_MODE          },
-  { "SATURATION",           GIMP_SATURATION_MODE   },
-  { "COLOR",                GIMP_COLOR_MODE        },
-  { "VALUE",                GIMP_VALUE_MODE        },
-  { "DIVIDE",               GIMP_DIVIDE_MODE       },
-
-  { "BLUR",                 GIMP_CONVOLVE_BLUR    },
-  { "SHARPEN",              GIMP_CONVOLVE_SHARPEN },
-
-  { "WHITE-MASK",           GIMP_ADD_MASK_WHITE     },
-  { "BLACK-MASK",           GIMP_ADD_MASK_BLACK     },
-  { "ALPHA-MASK",           GIMP_ADD_MASK_ALPHA     },
-  { "SELECTION-MASK",       GIMP_ADD_MASK_SELECTION },
-  { "COPY-MASK",            GIMP_ADD_MASK_COPY      },
-
-  { "ADD",                  GIMP_CHANNEL_OP_ADD       },
-  { "SUB",                  GIMP_CHANNEL_OP_SUBTRACT  },
-  { "REPLACE",              GIMP_CHANNEL_OP_REPLACE   },
-  { "INTERSECT",            GIMP_CHANNEL_OP_INTERSECT },
-
-  { "FG-BG-RGB",            GIMP_BLEND_FG_BG_RGB      },
-  { "FG-BG-HSV",            GIMP_BLEND_FG_BG_HSV      },
-  { "FG-TRANS",             GIMP_BLEND_FG_TRANSPARENT },
-  { "CUSTOM",               GIMP_BLEND_CUSTOM         },
-
-  { "FG-IMAGE-FILL",        GIMP_FOREGROUND_FILL  },
-  { "BG-IMAGE-FILL",        GIMP_BACKGROUND_FILL  },
-  { "WHITE-IMAGE-FILL",     GIMP_WHITE_FILL       },
-  { "TRANS-IMAGE-FILL",     GIMP_TRANSPARENT_FILL },
-
-  { "APPLY",                GIMP_MASK_APPLY   },
-  { "DISCARD",              GIMP_MASK_DISCARD },
-
-  { "HARD",                 GIMP_BRUSH_HARD },
-  { "SOFT",                 GIMP_BRUSH_SOFT },
-
-  { "CONTINUOUS",           GIMP_PAINT_CONSTANT    },
-  { "INCREMENTAL",          GIMP_PAINT_INCREMENTAL },
-
-  { "HORIZONTAL",           GIMP_ORIENTATION_HORIZONTAL },
-  { "VERTICAL",             GIMP_ORIENTATION_VERTICAL   },
-  { "UNKNOWN",              GIMP_ORIENTATION_UNKNOWN    },
-
-  { "LINEAR",               GIMP_GRADIENT_LINEAR               },
-  { "BILINEAR",             GIMP_GRADIENT_BILINEAR             },
-  { "RADIAL",               GIMP_GRADIENT_RADIAL               },
-  { "SQUARE",               GIMP_GRADIENT_SQUARE               },
-  { "CONICAL-SYMMETRIC",    GIMP_GRADIENT_CONICAL_SYMMETRIC    },
-  { "CONICAL-ASYMMETRIC",   GIMP_GRADIENT_CONICAL_ASYMMETRIC   },
-  { "SHAPEBURST-ANGULAR",   GIMP_GRADIENT_SHAPEBURST_ANGULAR   },
-  { "SHAPEBURST-SPHERICAL", GIMP_GRADIENT_SHAPEBURST_SPHERICAL },
-  { "SHAPEBURST-DIMPLED",   GIMP_GRADIENT_SHAPEBURST_DIMPLED   },
-  { "SPIRAL-CLOCKWISE",     GIMP_GRADIENT_SPIRAL_CLOCKWISE     },
-  { "SPIRAL-ANTICLOCKWISE", GIMP_GRADIENT_SPIRAL_ANTICLOCKWISE },
-
-  { "VALUE-LUT",            GIMP_HISTOGRAM_VALUE },
-  { "RED-LUT",              GIMP_HISTOGRAM_RED   },
-  { "GREEN-LUT",            GIMP_HISTOGRAM_GREEN },
-  { "BLUE-LUT",             GIMP_HISTOGRAM_BLUE  },
-  { "ALPHA-LUT",            GIMP_HISTOGRAM_ALPHA },
-
   /*  the following enums got cleaned up with properly named values in 2.10  */
 
   { "ADD-WHITE-MASK",          GIMP_ADD_MASK_WHITE          },


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