[gimp] app, libgimp, pdb: remove enum GimpConvolutionType from the public API
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app, libgimp, pdb: remove enum GimpConvolutionType from the public API
- Date: Sun, 27 Apr 2014 21:08:28 +0000 (UTC)
commit 2ff414d79909001f3e292cf6ae63ab6b8cd3a4b1
Author: Michael Natterer <mitch gimp org>
Date: Sun Apr 27 23:05:12 2014 +0200
app,libgimp,pdb: remove enum GimpConvolutionType from the public API
It was exported accidentially and never used for anything.
app/core/core-enums.h | 2 +-
devel-docs/libgimp/tmpl/gimpenums.sgml | 9 ---------
libgimp/gimpenums.c.tail | 2 --
libgimp/gimpenums.h | 12 ------------
tools/pdbgen/enums.pl | 9 ---------
5 files changed, 1 insertions(+), 33 deletions(-)
---
diff --git a/app/core/core-enums.h b/app/core/core-enums.h
index 4af5bc0..5bd31a5 100644
--- a/app/core/core-enums.h
+++ b/app/core/core-enums.h
@@ -112,7 +112,7 @@ typedef enum
GType gimp_convolution_type_get_type (void) G_GNUC_CONST;
-typedef enum
+typedef enum /*< pdb-skip >*/
{
GIMP_NORMAL_CONVOL, /* Negative numbers truncated */
GIMP_ABSOLUTE_CONVOL, /* Absolute value */
diff --git a/devel-docs/libgimp/tmpl/gimpenums.sgml b/devel-docs/libgimp/tmpl/gimpenums.sgml
index f666c42..1222a16 100644
--- a/devel-docs/libgimp/tmpl/gimpenums.sgml
+++ b/devel-docs/libgimp/tmpl/gimpenums.sgml
@@ -66,15 +66,6 @@ The possible shapes generated brushes can take.
@GIMP_MONO_PALETTE:
@GIMP_CUSTOM_PALETTE:
-<!-- ##### ENUM GimpConvolutionType ##### -->
-<para>
-
-</para>
-
- GIMP_NORMAL_CONVOL:
- GIMP_ABSOLUTE_CONVOL:
- GIMP_NEGATIVE_CONVOL:
-
<!-- ##### ENUM GimpConvolveType ##### -->
<para>
Operation modes of the convolve tool.
diff --git a/libgimp/gimpenums.c.tail b/libgimp/gimpenums.c.tail
index 8094ec0..93f07d9 100644
--- a/libgimp/gimpenums.c.tail
+++ b/libgimp/gimpenums.c.tail
@@ -14,7 +14,6 @@ static const GimpGetTypeFunc get_type_funcs[] =
gimp_component_type_get_type,
gimp_convert_dither_type_get_type,
gimp_convert_palette_type_get_type,
- gimp_convolution_type_get_type,
gimp_convolve_type_get_type,
gimp_desaturate_mode_get_type,
gimp_dodge_burn_type_get_type,
@@ -73,7 +72,6 @@ static const gchar * const type_names[] =
"GimpComponentType",
"GimpConvertDitherType",
"GimpConvertPaletteType",
- "GimpConvolutionType",
"GimpConvolveType",
"GimpDesaturateMode",
"GimpDodgeBurnType",
diff --git a/libgimp/gimpenums.h b/libgimp/gimpenums.h
index 6bf1282..969dcf4 100644
--- a/libgimp/gimpenums.h
+++ b/libgimp/gimpenums.h
@@ -89,18 +89,6 @@ typedef enum
} GimpConvertPaletteType;
-#define GIMP_TYPE_CONVOLUTION_TYPE (gimp_convolution_type_get_type ())
-
-GType gimp_convolution_type_get_type (void) G_GNUC_CONST;
-
-typedef enum
-{
- GIMP_NORMAL_CONVOL,
- GIMP_ABSOLUTE_CONVOL,
- GIMP_NEGATIVE_CONVOL
-} GimpConvolutionType;
-
-
#define GIMP_TYPE_CONVOLVE_TYPE (gimp_convolve_type_get_type ())
GType gimp_convolve_type_get_type (void) G_GNUC_CONST;
diff --git a/tools/pdbgen/enums.pl b/tools/pdbgen/enums.pl
index 9038e30..781894d 100644
--- a/tools/pdbgen/enums.pl
+++ b/tools/pdbgen/enums.pl
@@ -452,15 +452,6 @@ package Gimp::CodeGen::enums;
GIMP_MONO_PALETTE => '3',
GIMP_CUSTOM_PALETTE => '4' }
},
- GimpConvolutionType =>
- { contig => 1,
- header => 'core/core-enums.h',
- symbols => [ qw(GIMP_NORMAL_CONVOL GIMP_ABSOLUTE_CONVOL
- GIMP_NEGATIVE_CONVOL) ],
- mapping => { GIMP_NORMAL_CONVOL => '0',
- GIMP_ABSOLUTE_CONVOL => '1',
- GIMP_NEGATIVE_CONVOL => '2' }
- },
GimpHistogramChannel =>
{ contig => 1,
header => 'core/core-enums.h',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]