[gimp/gtk3-port: 156/262] libgimpwidgets: add padding



commit 79fc20129fb57e6606049d00b0943f56c831a790
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jan 2 02:14:49 2011 +0100

    libgimpwidgets: add padding

 libgimpwidgets/gimpcolorselector.h |   35 ++++++++++++++++-------------------
 1 files changed, 16 insertions(+), 19 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorselector.h b/libgimpwidgets/gimpcolorselector.h
index 7c6b31f..f79d0e2 100644
--- a/libgimpwidgets/gimpcolorselector.h
+++ b/libgimpwidgets/gimpcolorselector.h
@@ -82,11 +82,7 @@ struct _GimpColorSelectorClass
 
   const gchar *name;
   const gchar *help_id;
-#ifdef GIMP_DISABLE_DEPRECATED
-  gpointer     deprecated_stock_id;
-#else
-  const gchar *stock_id;
-#endif
+  const gchar *icon_name;
 
   /*  virtual functions  */
   void (* set_toggles_visible)   (GimpColorSelector        *selector,
@@ -100,6 +96,11 @@ struct _GimpColorSelectorClass
                                   const GimpHSV            *hsv);
   void (* set_channel)           (GimpColorSelector        *selector,
                                   GimpColorSelectorChannel  channel);
+  void (* set_model_visible)     (GimpColorSelector        *selector,
+                                  GimpColorSelectorModel    model,
+                                  gboolean                  visible);
+  void (* set_config)            (GimpColorSelector        *selector,
+                                  GimpColorConfig          *config);
 
   /*  signals  */
   void (* color_changed)         (GimpColorSelector        *selector,
@@ -107,23 +108,19 @@ struct _GimpColorSelectorClass
                                   const GimpHSV            *hsv);
   void (* channel_changed)       (GimpColorSelector        *selector,
                                   GimpColorSelectorChannel  channel);
-
-  /*  another virtual function  */
-  void (* set_config)            (GimpColorSelector        *selector,
-                                  GimpColorConfig          *config);
-
-  /*  icon name  */
-  const gchar *icon_name;
-
-  /*  another virtual function  */
-  void (* set_model_visible)     (GimpColorSelector        *selector,
-                                  GimpColorSelectorModel    model,
-                                  gboolean                  visible);
-
-  /*  another signal  */
   void (* model_visible_changed) (GimpColorSelector        *selector,
                                   GimpColorSelectorModel    model,
                                   gboolean                  visible);
+
+  /* Padding for future expansion */
+  void (* _gimp_reserved1) (void);
+  void (* _gimp_reserved2) (void);
+  void (* _gimp_reserved3) (void);
+  void (* _gimp_reserved4) (void);
+  void (* _gimp_reserved5) (void);
+  void (* _gimp_reserved6) (void);
+  void (* _gimp_reserved7) (void);
+  void (* _gimp_reserved8) (void);
 };
 
 


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