[gimp] app: add struct GimpTransformOptionsClass



commit 8236068982001bc03d55dbc08ecb966665528681
Author: Michael Natterer <mitch gimp org>
Date:   Thu Mar 5 09:57:23 2015 +0100

    app: add struct GimpTransformOptionsClass
    
    instead of simply typedefing it to the parent class struct.

 app/tools/gimptransformoptions.h |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimptransformoptions.h b/app/tools/gimptransformoptions.h
index 8a41897..6595098 100644
--- a/app/tools/gimptransformoptions.h
+++ b/app/tools/gimptransformoptions.h
@@ -30,8 +30,8 @@
 #define GIMP_TRANSFORM_OPTIONS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GIMP_TYPE_TRANSFORM_OPTIONS, GimpTransformOptionsClass))
 
 
-typedef struct _GimpTransformOptions GimpTransformOptions;
-typedef struct _GimpToolOptionsClass GimpTransformOptionsClass;
+typedef struct _GimpTransformOptions      GimpTransformOptions;
+typedef struct _GimpTransformOptionsClass GimpTransformOptionsClass;
 
 struct _GimpTransformOptions
 {
@@ -57,6 +57,11 @@ struct _GimpTransformOptions
   gboolean                  fixedpivot;
 };
 
+struct _GimpTransformOptionsClass
+{
+  GimpToolOptions  parent_class;
+};
+
 
 GType       gimp_transform_options_get_type     (void) G_GNUC_CONST;
 


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