range: Use standard padding

This commit is contained in:
Matthias Clasen 2019-05-26 23:18:38 -04:00
parent 546cbd55eb
commit a2d2c8afc4
2 changed files with 4 additions and 5 deletions

View File

@ -69,6 +69,7 @@
typedef struct _GtkRangeStepTimer GtkRangeStepTimer; typedef struct _GtkRangeStepTimer GtkRangeStepTimer;
typedef struct _GtkRangePrivate GtkRangePrivate;
struct _GtkRangePrivate struct _GtkRangePrivate
{ {
GtkWidget *grab_location; /* "grabbed" mouse location, NULL for no grab */ GtkWidget *grab_location; /* "grabbed" mouse location, NULL for no grab */

View File

@ -44,7 +44,6 @@ G_BEGIN_DECLS
#define GTK_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass)) #define GTK_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass))
typedef struct _GtkRange GtkRange; typedef struct _GtkRange GtkRange;
typedef struct _GtkRangePrivate GtkRangePrivate;
typedef struct _GtkRangeClass GtkRangeClass; typedef struct _GtkRangeClass GtkRangeClass;
struct _GtkRange struct _GtkRange
@ -77,10 +76,9 @@ struct _GtkRangeClass
gint *minimum, gint *minimum,
gint *natural); gint *natural);
/* Padding for future expansion */ /*< private > */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void); gpointer padding[8];
void (*_gtk_reserved3) (void);
}; };