[gimp/gtk3-port: 156/232] libgimpwidgets: add padding
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 156/232] libgimpwidgets: add padding
- Date: Sun, 11 Feb 2018 17:06:08 +0000 (UTC)
commit d7073a0233f08e4a28678caaa40c50de7f567507
Author: Michael Natterer <mitch gimp org>
Date: Sun Jan 2 02:14:49 2011 +0100
libgimpwidgets: add padding
libgimpwidgets/gimpcolorselector.h | 33 +++++++++++++++------------------
1 files changed, 15 insertions(+), 18 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorselector.h b/libgimpwidgets/gimpcolorselector.h
index 2370f76..f9e78e8 100644
--- a/libgimpwidgets/gimpcolorselector.h
+++ b/libgimpwidgets/gimpcolorselector.h
@@ -83,11 +83,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,
@@ -101,6 +97,10 @@ struct _GimpColorSelectorClass
const GimpHSV *hsv);
void (* set_channel) (GimpColorSelector *selector,
GimpColorSelectorChannel channel);
+ void (* set_model) (GimpColorSelector *selector,
+ GimpColorSelectorModel model);
+ void (* set_config) (GimpColorSelector *selector,
+ GimpColorConfig *config);
/* signals */
void (* color_changed) (GimpColorSelector *selector,
@@ -108,21 +108,18 @@ 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) (GimpColorSelector *selector,
- GimpColorSelectorModel model);
-
- /* another signal */
void (* model_changed) (GimpColorSelector *selector,
GimpColorSelectorModel model);
+
+ /* 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]