libgimpbase: remove enum value GIMP_FOREGROUND_EXTRACT_SIOX

This commit is contained in:
Michael Natterer 2019-11-19 21:25:26 +01:00
parent 0e5a03605a
commit 0141a28419
4 changed files with 3 additions and 9 deletions

View File

@ -1893,7 +1893,7 @@ register_drawable_procs (GimpPDB *pdb)
"mode", "mode",
"The algorithm to use", "The algorithm to use",
GIMP_TYPE_FOREGROUND_EXTRACT_MODE, GIMP_TYPE_FOREGROUND_EXTRACT_MODE,
GIMP_FOREGROUND_EXTRACT_SIOX, GIMP_FOREGROUND_EXTRACT_MATTING,
GIMP_PARAM_READWRITE)); GIMP_PARAM_READWRITE));
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable ("mask", gimp_param_spec_drawable ("mask",

View File

@ -537,14 +537,12 @@ gimp_foreground_extract_mode_get_type (void)
{ {
static const GEnumValue values[] = static const GEnumValue values[] =
{ {
{ GIMP_FOREGROUND_EXTRACT_SIOX, "GIMP_FOREGROUND_EXTRACT_SIOX", "siox" },
{ GIMP_FOREGROUND_EXTRACT_MATTING, "GIMP_FOREGROUND_EXTRACT_MATTING", "matting" }, { GIMP_FOREGROUND_EXTRACT_MATTING, "GIMP_FOREGROUND_EXTRACT_MATTING", "matting" },
{ 0, NULL, NULL } { 0, NULL, NULL }
}; };
static const GimpEnumDesc descs[] = static const GimpEnumDesc descs[] =
{ {
{ GIMP_FOREGROUND_EXTRACT_SIOX, "GIMP_FOREGROUND_EXTRACT_SIOX", NULL },
{ GIMP_FOREGROUND_EXTRACT_MATTING, "GIMP_FOREGROUND_EXTRACT_MATTING", NULL }, { GIMP_FOREGROUND_EXTRACT_MATTING, "GIMP_FOREGROUND_EXTRACT_MATTING", NULL },
{ 0, NULL, NULL } { 0, NULL, NULL }
}; };

View File

@ -384,7 +384,6 @@ typedef enum
/** /**
* GimpForegroundExtractMode: * GimpForegroundExtractMode:
* @GIMP_FOREGROUND_EXTRACT_SIOX: Siox
* @GIMP_FOREGROUND_EXTRACT_MATTING: Matting (Since 2.10) * @GIMP_FOREGROUND_EXTRACT_MATTING: Matting (Since 2.10)
* *
* Foreground extract engines. * Foreground extract engines.
@ -395,7 +394,6 @@ GType gimp_foreground_extract_mode_get_type (void) G_GNUC_CONST;
typedef enum typedef enum
{ {
GIMP_FOREGROUND_EXTRACT_SIOX,
GIMP_FOREGROUND_EXTRACT_MATTING GIMP_FOREGROUND_EXTRACT_MATTING
} GimpForegroundExtractMode; } GimpForegroundExtractMode;

View File

@ -177,10 +177,8 @@ package Gimp::CodeGen::enums;
GimpForegroundExtractMode => GimpForegroundExtractMode =>
{ contig => 1, { contig => 1,
header => 'libgimpbase/gimpbaseenums.h', header => 'libgimpbase/gimpbaseenums.h',
symbols => [ qw(GIMP_FOREGROUND_EXTRACT_SIOX symbols => [ qw(GIMP_FOREGROUND_EXTRACT_MATTING) ],
GIMP_FOREGROUND_EXTRACT_MATTING) ], mapping => { GIMP_FOREGROUND_EXTRACT_MATTING => '0' }
mapping => { GIMP_FOREGROUND_EXTRACT_SIOX => '0',
GIMP_FOREGROUND_EXTRACT_MATTING => '1' }
}, },
GimpGradientBlendColorSpace => GimpGradientBlendColorSpace =>
{ contig => 1, { contig => 1,