[gtk] scale: Use standard padding
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] scale: Use standard padding
- Date: Mon, 27 May 2019 03:19:03 +0000 (UTC)
commit 546cbd55eb021f1ece5de12a03ff84772dff7ab9
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 26 23:17:28 2019 -0400
scale: Use standard padding
gtk/gtkscale.c | 1 +
gtk/gtkscale.h | 9 +++------
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index c57549486e..70369410bf 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -137,6 +137,7 @@
typedef struct _GtkScaleMark GtkScaleMark;
+typedef struct _GtkScalePrivate GtkScalePrivate;
struct _GtkScalePrivate
{
GSList *marks;
diff --git a/gtk/gtkscale.h b/gtk/gtkscale.h
index 31151cb850..a76cd81f53 100644
--- a/gtk/gtkscale.h
+++ b/gtk/gtkscale.h
@@ -44,7 +44,6 @@ G_BEGIN_DECLS
typedef struct _GtkScale GtkScale;
-typedef struct _GtkScalePrivate GtkScalePrivate;
typedef struct _GtkScaleClass GtkScaleClass;
struct _GtkScale
@@ -63,11 +62,9 @@ struct _GtkScaleClass
gint *x,
gint *y);
- /* Padding for future expansion */
- void (*_gtk_reserved1) (void);
- void (*_gtk_reserved2) (void);
- void (*_gtk_reserved3) (void);
- void (*_gtk_reserved4) (void);
+ /*< private >*/
+
+ gpointer padding[8];
};
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]