diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-26 23:18:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-26 23:18:38 -0400 |
commit | a2d2c8afc4509967e53dc5a840735e83876cada1 (patch) | |
tree | 6cd5ad8aaa719cbf96ac514b13bedc97a5e3f9aa /gtk | |
parent | 546cbd55eb021f1ece5de12a03ff84772dff7ab9 (diff) | |
download | gtk+-a2d2c8afc4509967e53dc5a840735e83876cada1.tar.gz |
range: Use standard padding
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkrange.c | 1 | ||||
-rw-r--r-- | gtk/gtkrange.h | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 06a0559b47..55ad3c37ee 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -69,6 +69,7 @@ typedef struct _GtkRangeStepTimer GtkRangeStepTimer; +typedef struct _GtkRangePrivate GtkRangePrivate; struct _GtkRangePrivate { GtkWidget *grab_location; /* "grabbed" mouse location, NULL for no grab */ diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h index 60787e195a..13136cadde 100644 --- a/gtk/gtkrange.h +++ b/gtk/gtkrange.h @@ -44,7 +44,6 @@ G_BEGIN_DECLS #define GTK_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass)) typedef struct _GtkRange GtkRange; -typedef struct _GtkRangePrivate GtkRangePrivate; typedef struct _GtkRangeClass GtkRangeClass; struct _GtkRange @@ -77,10 +76,9 @@ struct _GtkRangeClass gint *minimum, gint *natural); - /* Padding for future expansion */ - void (*_gtk_reserved1) (void); - void (*_gtk_reserved2) (void); - void (*_gtk_reserved3) (void); + /*< private > */ + + gpointer padding[8]; }; |