[gimp] app: remove unused enum value GIMP_CUSTOM_CONVOLVE



commit 5a89c15ba1534e300a8700f755a73142274a7c6f
Author: Michael Natterer <mitch gimp org>
Date:   Tue Apr 29 21:06:42 2014 +0200

    app: remove unused enum value GIMP_CUSTOM_CONVOLVE

 app/paint/gimpconvolve.c |    3 ---
 app/paint/paint-enums.h  |    5 ++---
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/app/paint/gimpconvolve.c b/app/paint/gimpconvolve.c
index 4a4fe28..d38eb4b 100644
--- a/app/paint/gimpconvolve.c
+++ b/app/paint/gimpconvolve.c
@@ -230,9 +230,6 @@ gimp_convolve_calculate_matrix (GimpConvolve    *convolve,
     case GIMP_SHARPEN_CONVOLVE:
       convolve->matrix[4] = MIN_SHARPEN + percent * (MAX_SHARPEN - MIN_SHARPEN);
       break;
-
-    case GIMP_CUSTOM_CONVOLVE:
-      break;
     }
 
   convolve->matrix[5] = (radius_x)             ? 1.0 : 0.0;
diff --git a/app/paint/paint-enums.h b/app/paint/paint-enums.h
index d8551e9..422fbe3 100644
--- a/app/paint/paint-enums.h
+++ b/app/paint/paint-enums.h
@@ -76,9 +76,8 @@ GType gimp_convolve_type_get_type (void) G_GNUC_CONST;
 
 typedef enum
 {
-  GIMP_BLUR_CONVOLVE,     /*< desc="Blur"    >*/
-  GIMP_SHARPEN_CONVOLVE,  /*< desc="Sharpen" >*/
-  GIMP_CUSTOM_CONVOLVE    /*< pdb-skip, skip >*/
+  GIMP_BLUR_CONVOLVE,    /*< desc="Blur"    >*/
+  GIMP_SHARPEN_CONVOLVE  /*< desc="Sharpen" >*/
 } GimpConvolveType;
 
 


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