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]; };