[gtk/ebassi/gidocgen: 171/481] Mark padding fields as private
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 171/481] Mark padding fields as private
- Date: Sun, 7 Mar 2021 23:55:07 +0000 (UTC)
commit b6fd68db954c48c64a7684f8f865b666e26997c5
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]