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



commit 635c7674d5bf38b40d1a0abca8809b781a869896
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 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/libgimpwidgets/gimpintcombobox.h b/libgimpwidgets/gimpintcombobox.h
index 809f57d..88f119e 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]