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



commit 14def684046c3da9a142c46ce52e00f9c0962ebc
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 4652742..157109f 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]