[gimp] app: remove /*< skip >*/ and /*< pdb-skip >*/ annotations from enums



commit 789e9f2cf49ffefeaca01a45f41e3ab76fe14ac9
Author: Michael Natterer <mitch gimp org>
Date:   Thu Jan 7 17:44:46 2016 +0100

    app: remove /*< skip >*/ and /*< pdb-skip >*/ annotations from enums
    
    where their headers are not even parsed by the affected scripts.

 app/plug-in/plug-in-enums.h |    6 +++---
 app/text/text-enums.h       |    4 ++--
 app/vectors/vectors-enums.h |    8 +++++---
 3 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/app/plug-in/plug-in-enums.h b/app/plug-in/plug-in-enums.h
index e201eb2..89fca31 100644
--- a/app/plug-in/plug-in-enums.h
+++ b/app/plug-in/plug-in-enums.h
@@ -23,7 +23,7 @@
 
 GType gimp_plug_in_image_type_get_type (void) G_GNUC_CONST;
 
-typedef enum /*< pdb-skip >*/
+typedef enum
 {
   GIMP_PLUG_IN_RGB_IMAGE      = 1 << 0,
   GIMP_PLUG_IN_GRAY_IMAGE     = 1 << 1,
@@ -38,7 +38,7 @@ typedef enum /*< pdb-skip >*/
 
 GType gimp_plug_in_call_mode_get_type (void) G_GNUC_CONST;
 
-typedef enum /*< pdb-skip >*/
+typedef enum
 {
   GIMP_PLUG_IN_CALL_NONE,
   GIMP_PLUG_IN_CALL_RUN,
@@ -51,7 +51,7 @@ typedef enum /*< pdb-skip >*/
 
 GType gimp_file_procedure_group_get_type (void) G_GNUC_CONST;
 
-typedef enum /*< pdb-skip >*/
+typedef enum
 {
   GIMP_FILE_PROCEDURE_GROUP_NONE,
   GIMP_FILE_PROCEDURE_GROUP_ANY,
diff --git a/app/text/text-enums.h b/app/text/text-enums.h
index c6266a7..af51add 100644
--- a/app/text/text-enums.h
+++ b/app/text/text-enums.h
@@ -23,7 +23,7 @@
 
 GType gimp_text_box_mode_get_type (void) G_GNUC_CONST;
 
-typedef enum /*< pdb-skip >*/
+typedef enum
 {
   GIMP_TEXT_BOX_DYNAMIC, /*< desc="Dynamic" >*/
   GIMP_TEXT_BOX_FIXED    /*< desc="Fixed"   >*/
@@ -34,7 +34,7 @@ typedef enum /*< pdb-skip >*/
 
 GType gimp_text_outline_get_type (void) G_GNUC_CONST;
 
-typedef enum /*< pdb-skip >*/
+typedef enum
 {
   GIMP_TEXT_OUTLINE_NONE,
   GIMP_TEXT_OUTLINE_STROKE_ONLY,
diff --git a/app/vectors/vectors-enums.h b/app/vectors/vectors-enums.h
index c7046dd..845e703 100644
--- a/app/vectors/vectors-enums.h
+++ b/app/vectors/vectors-enums.h
@@ -21,13 +21,14 @@
 #ifndef __VECTORS_ENUMS_H__
 #define __VECTORS_ENUMS_H__
 
-typedef enum /*< pdb-skip, skip >*/
+
+typedef enum
 {
   GIMP_ANCHOR_ANCHOR,
   GIMP_ANCHOR_CONTROL
 } GimpAnchorType;
 
-typedef enum /*< pdb-skip, skip >*/
+typedef enum
 {
   GIMP_ANCHOR_FEATURE_NONE,
   GIMP_ANCHOR_FEATURE_EDGE,
@@ -35,10 +36,11 @@ typedef enum /*< pdb-skip, skip >*/
   GIMP_ANCHOR_FEATURE_SYMMETRIC
 } GimpAnchorFeatureType;
 
-typedef enum  /*< pdb-skip, skip >*/
+typedef enum
 {
   EXTEND_SIMPLE,
   EXTEND_EDITABLE
 } GimpVectorExtendMode;
 
+
 #endif /* __VECTORS_ENUMS_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]