[gtk/ebassi/gidocgen: 200/200] Mark padding fields as private
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 200/200] Mark padding fields as private
- Date: Thu, 25 Feb 2021 13:08:25 +0000 (UTC)
commit 5a1bbecec4845100caef4102b8e0ff5dcf7aab68
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Feb 25 11:35:33 2021 +0000
Mark padding fields as private
And mention that they should be removed in the next version of GTK.
Padding fields in interfaces are unnecessary, as they don't contribute
to the ABI.
gtk/gtkcolorchooser.h | 3 ++-
gtk/gtkfontchooser.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcolorchooser.h b/gtk/gtkcolorchooser.h
index 0ed0872a08..ac95a1a70b 100644
--- a/gtk/gtkcolorchooser.h
+++ b/gtk/gtkcolorchooser.h
@@ -55,7 +55,8 @@ struct _GtkColorChooserInterface
void (* color_activated) (GtkColorChooser *chooser,
const GdkRGBA *color);
- /* Padding */
+ /*< private >*/
+ /* Padding; remove in GTK-next */
gpointer padding[12];
};
diff --git a/gtk/gtkfontchooser.h b/gtk/gtkfontchooser.h
index 323c3e9f96..6afc0f1ad4 100644
--- a/gtk/gtkfontchooser.h
+++ b/gtk/gtkfontchooser.h
@@ -97,7 +97,8 @@ struct _GtkFontChooserIface
PangoFontMap *fontmap);
PangoFontMap * (* get_font_map) (GtkFontChooser *fontchooser);
- /* Padding */
+ /*< private >*/
+ /* Padding; remove in GTK-next */
gpointer padding[10];
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]