[gimp] libgimpwidgets: restore ABI of GimpColorSelectorClass



commit 13b640f84cf6f133c961b93f3846251b522baa94
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jan 22 13:04:54 2018 +0100

    libgimpwidgets: restore ABI of GimpColorSelectorClass
    
    Public structs must not change, that's why we have padding at the
    end for extension.

 libgimpwidgets/gimpcolorselector.h |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorselector.h b/libgimpwidgets/gimpcolorselector.h
index cc2f829..2370f76 100644
--- a/libgimpwidgets/gimpcolorselector.h
+++ b/libgimpwidgets/gimpcolorselector.h
@@ -99,8 +99,6 @@ struct _GimpColorSelectorClass
   void (* set_color)             (GimpColorSelector        *selector,
                                   const GimpRGB            *rgb,
                                   const GimpHSV            *hsv);
-  void (* set_model)             (GimpColorSelector        *selector,
-                                  GimpColorSelectorModel    model);
   void (* set_channel)           (GimpColorSelector        *selector,
                                   GimpColorSelectorChannel  channel);
 
@@ -108,8 +106,6 @@ struct _GimpColorSelectorClass
   void (* color_changed)         (GimpColorSelector        *selector,
                                   const GimpRGB            *rgb,
                                   const GimpHSV            *hsv);
-  void (* model_changed)         (GimpColorSelector        *selector,
-                                  GimpColorSelectorModel    model);
   void (* channel_changed)       (GimpColorSelector        *selector,
                                   GimpColorSelectorChannel  channel);
 
@@ -120,9 +116,13 @@ struct _GimpColorSelectorClass
   /*  icon name  */
   const gchar *icon_name;
 
-  /* Padding for future expansion */
-  void (* _gimp_reserved3) (void);
-  void (* _gimp_reserved4) (void);
+  /*  another virtual function  */
+  void (* set_model)             (GimpColorSelector        *selector,
+                                  GimpColorSelectorModel    model);
+
+  /*  another signal  */
+  void (* model_changed)         (GimpColorSelector        *selector,
+                                  GimpColorSelectorModel    model);
 };
 
 


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