[gimp/gtk3-port: 153/227] libgimpwidgets: move padding members from instance to class struct



commit dfb6790c78aaa7248b902c5dcf86e99a4d6d72d6
Author: Michael Natterer <mitch gimp org>
Date:   Wed Dec 29 16:51:15 2010 +0100

    libgimpwidgets: move padding members from instance to class struct

 libgimpwidgets/gimpintcombobox.h | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/libgimpwidgets/gimpintcombobox.h b/libgimpwidgets/gimpintcombobox.h
index c338ffa..de96157 100644
--- a/libgimpwidgets/gimpintcombobox.h
+++ b/libgimpwidgets/gimpintcombobox.h
@@ -41,20 +41,21 @@ typedef struct _GimpIntComboBoxClass  GimpIntComboBoxClass;
 
 struct _GimpIntComboBox
 {
-  GtkComboBox       parent_instance;
+  GtkComboBox parent_instance;
 
   /*< private >*/
-  gpointer          priv;
-
-  /* Padding for future expansion (should have gone to the class) */
-  void (* _gimp_reserved2) (void);
-  void (* _gimp_reserved3) (void);
-  void (* _gimp_reserved4) (void);
+  gpointer    priv;
 };
 
 struct _GimpIntComboBoxClass
 {
   GtkComboBoxClass  parent_class;
+
+  /* Padding for future expansion */
+  void (* _gimp_reserved1) (void);
+  void (* _gimp_reserved2) (void);
+  void (* _gimp_reserved3) (void);
+  void (* _gimp_reserved4) (void);
 };
 
 


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