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",
"The algorithm to use",
GIMP_TYPE_FOREGROUND_EXTRACT_MODE,
GIMP_FOREGROUND_EXTRACT_SIOX,
GIMP_FOREGROUND_EXTRACT_MATTING,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable ("mask",

View File

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

View File

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

View File

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