[gegl] enums: remove resilient enum value from GEGL_DITHER_



commit 2d97c4b052b844526d9105743f5d25e91c1040c8
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Dec 25 13:36:16 2016 +0100

    enums: remove resilient enum value from GEGL_DITHER_

 gegl/gegl-enums.c |   13 ++++++-------
 gegl/gegl-enums.h |    5 ++---
 2 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/gegl/gegl-enums.c b/gegl/gegl-enums.c
index ec412b7..7a06f29 100644
--- a/gegl/gegl-enums.c
+++ b/gegl/gegl-enums.c
@@ -85,15 +85,14 @@ gegl_dither_method_get_type (void)
     {
       static GEnumValue values[] = {
         { GEGL_DITHER_NONE,             N_("None"),             "none"             },
+        { GEGL_DITHER_FLOYD_STEINBERG,  N_("Floyd-Steinberg"),  "floyd-steinberg"  },
+        { GEGL_DITHER_BAYER,            N_("Bayer"),            "bayer"            },
         { GEGL_DITHER_RANDOM,           N_("Random"),           "random"           },
-        { GEGL_DITHER_RESILIENT,        N_("Resilient"),        "resilient"        },
         { GEGL_DITHER_RANDOM_COVARIANT, N_("Random Covariant"), "random-covariant" },
-        { GEGL_DITHER_BAYER,            N_("Bayer"),            "bayer"            },
-        { GEGL_DITHER_FLOYD_STEINBERG,  N_("Floyd-Steinberg"),  "floyd-steinberg"  },
-        { GEGL_DITHER_ARITHMETIC_ADD,   N_("Arithmetic-add"),   "add"  },
-        { GEGL_DITHER_ARITHMETIC_ADD_COVARIANT,   N_("Arithmetic-add-covariant"),  "add-covariant"  },
-        { GEGL_DITHER_ARITHMETIC_XOR,   N_("Arithmetic-xor"),   "xor"  },
-        { GEGL_DITHER_ARITHMETIC_XOR_COVARIANT,   N_("Arithmetic-xor-covariant"),  "xor-covariant"  },
+        { GEGL_DITHER_ARITHMETIC_ADD,   N_("Arithmetic add"),   "add"  },
+        { GEGL_DITHER_ARITHMETIC_ADD_COVARIANT,   N_("Arithmetic add covariant"),  "add-covariant"  },
+        { GEGL_DITHER_ARITHMETIC_XOR,   N_("Arithmetic xor"),   "xor"  },
+        { GEGL_DITHER_ARITHMETIC_XOR_COVARIANT,   N_("Arithmetic xor covariant"),  "xor-covariant"  },
 
         { 0, NULL, NULL }
       };
diff --git a/gegl/gegl-enums.h b/gegl/gegl-enums.h
index b669994..25d6fe0 100644
--- a/gegl/gegl-enums.h
+++ b/gegl/gegl-enums.h
@@ -62,11 +62,10 @@ GType gegl_access_mode_get_type (void) G_GNUC_CONST;
 
 typedef enum {
   GEGL_DITHER_NONE,
+  GEGL_DITHER_FLOYD_STEINBERG,
+  GEGL_DITHER_BAYER,
   GEGL_DITHER_RANDOM,
-  GEGL_DITHER_RESILIENT,
   GEGL_DITHER_RANDOM_COVARIANT,
-  GEGL_DITHER_BAYER,
-  GEGL_DITHER_FLOYD_STEINBERG,
   GEGL_DITHER_ARITHMETIC_ADD,
   GEGL_DITHER_ARITHMETIC_ADD_COVARIANT,
   GEGL_DITHER_ARITHMETIC_XOR,


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