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



commit 17559a7ce40c81f76ceb0ef815a1a1c0910fbda6
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 ee1aa7a..aec6888 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]