Commit 0141a284 authored by Michael Natterer's avatar Michael Natterer 😴

libgimpbase: remove enum value GIMP_FOREGROUND_EXTRACT_SIOX

parent 0e5a0360
Pipeline #131986 passed with stages
in 32 minutes and 34 seconds
......@@ -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",
......
......@@ -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 }
};
......
......@@ -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;
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment