[gimp] libgimpbase: enum GimpForegroundExtractMode: add GIMP_FOREGROUND_EXTRACT_MATTING
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpbase: enum GimpForegroundExtractMode: add GIMP_FOREGROUND_EXTRACT_MATTING
- Date: Tue, 7 May 2013 21:07:58 +0000 (UTC)
commit 02505451b173fe02334f055b66fda3fb8a8fcadf
Author: Miroslav Talasek <miroslav talasek seznam cz>
Date: Tue May 7 23:00:57 2013 +0200
libgimpbase: enum GimpForegroundExtractMode: add GIMP_FOREGROUND_EXTRACT_MATTING
libgimpbase/gimpbaseenums.c | 2 ++
libgimpbase/gimpbaseenums.h | 3 ++-
tools/pdbgen/enums.pl | 6 ++++--
3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libgimpbase/gimpbaseenums.c b/libgimpbase/gimpbaseenums.c
index df3ac2e..5609009 100644
--- a/libgimpbase/gimpbaseenums.c
+++ b/libgimpbase/gimpbaseenums.c
@@ -354,12 +354,14 @@ 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 }
};
diff --git a/libgimpbase/gimpbaseenums.h b/libgimpbase/gimpbaseenums.h
index 4750d21..c7115cb 100644
--- a/libgimpbase/gimpbaseenums.h
+++ b/libgimpbase/gimpbaseenums.h
@@ -170,7 +170,8 @@ GType gimp_foreground_extract_mode_get_type (void) G_GNUC_CONST;
typedef enum
{
- GIMP_FOREGROUND_EXTRACT_SIOX
+ GIMP_FOREGROUND_EXTRACT_SIOX,
+ GIMP_FOREGROUND_EXTRACT_MATTING
} GimpForegroundExtractMode;
diff --git a/tools/pdbgen/enums.pl b/tools/pdbgen/enums.pl
index 697d463..b8d5329 100644
--- a/tools/pdbgen/enums.pl
+++ b/tools/pdbgen/enums.pl
@@ -102,8 +102,10 @@ package Gimp::CodeGen::enums;
GimpForegroundExtractMode =>
{ contig => 1,
header => 'libgimpbase/gimpbaseenums.h',
- symbols => [ qw(GIMP_FOREGROUND_EXTRACT_SIOX) ],
- mapping => { GIMP_FOREGROUND_EXTRACT_SIOX => '0' }
+ symbols => [ qw(GIMP_FOREGROUND_EXTRACT_SIOX
+ GIMP_FOREGROUND_EXTRACT_MATTING) ],
+ mapping => { GIMP_FOREGROUND_EXTRACT_SIOX => '0',
+ GIMP_FOREGROUND_EXTRACT_MATTING => '1' }
},
GimpGradientType =>
{ contig => 1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]