[gimp] libgimp, pdb: some generated files which were not in previous commits.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp, pdb: some generated files which were not in previous commits.
- Date: Thu, 15 Mar 2018 14:07:31 +0000 (UTC)
commit c5a0189b7fd2528f7804915f3603aabfc8cf64a8
Author: Jehan <jehan girinstud io>
Date: Thu Mar 15 15:05:32 2018 +0100
libgimp, pdb: some generated files which were not in previous commits.
It's weird. I didn't see these when I added the GimpDistanceMetric enum
type. Not sure why. Adding these now.
libgimp/gimpenums.c.tail | 2 ++
pdb/enums.pl | 10 ++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/libgimp/gimpenums.c.tail b/libgimp/gimpenums.c.tail
index ac40359..747e21c 100644
--- a/libgimp/gimpenums.c.tail
+++ b/libgimp/gimpenums.c.tail
@@ -20,6 +20,7 @@ static const GimpGetTypeFunc get_type_funcs[] =
gimp_convert_palette_type_get_type,
gimp_convolve_type_get_type,
gimp_desaturate_mode_get_type,
+ gimp_distance_metric_get_type,
gimp_dodge_burn_type_get_type,
gimp_fill_type_get_type,
gimp_foreground_extract_mode_get_type,
@@ -86,6 +87,7 @@ static const gchar * const type_names[] =
"GimpConvertPaletteType",
"GimpConvolveType",
"GimpDesaturateMode",
+ "GimpDistanceMetric",
"GimpDodgeBurnType",
"GimpFillType",
"GimpForegroundExtractMode",
diff --git a/pdb/enums.pl b/pdb/enums.pl
index 85075b9..76258b1 100644
--- a/pdb/enums.pl
+++ b/pdb/enums.pl
@@ -165,6 +165,16 @@ package Gimp::CodeGen::enums;
GIMP_DESATURATE_LUMINANCE => '3',
GIMP_DESATURATE_VALUE => '4' }
},
+ GimpDistanceMetric =>
+ { contig => 1,
+ header => 'libgimpbase/gimpbaseenums.h',
+ symbols => [ qw(GIMP_DISTANCE_METRIC_EUCLIDEAN
+ GIMP_DISTANCE_METRIC_MANHATTAN
+ GIMP_DISTANCE_METRIC_CHESSBOARD) ],
+ mapping => { GIMP_DISTANCE_METRIC_EUCLIDEAN => '0',
+ GIMP_DISTANCE_METRIC_MANHATTAN => '1',
+ GIMP_DISTANCE_METRIC_CHESSBOARD => '2' }
+ },
GimpDodgeBurnType =>
{ contig => 1,
header => 'libgimpbase/gimpbaseenums.h',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]