forked from AuroraMiddleware/gtk
gtk: add missing class padding
Sorry for this late ABI break, but the newly added style classes definitely need padding, so I can just as well add missing padding globally.
This commit is contained in:
parent
e521158973
commit
3933f99ed7
@ -60,6 +60,12 @@ struct _GtkAlignment
|
||||
struct _GtkAlignmentClass
|
||||
{
|
||||
GtkBinClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
|
||||
|
@ -56,7 +56,7 @@ struct _GtkApplicationClass
|
||||
GApplicationClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
gpointer padding[12];
|
||||
gpointer padding[16];
|
||||
};
|
||||
|
||||
GType gtk_application_get_type (void) G_GNUC_CONST;
|
||||
|
@ -60,6 +60,12 @@ struct _GtkArrow
|
||||
struct _GtkArrowClass
|
||||
{
|
||||
GtkMiscClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
|
||||
|
@ -59,6 +59,12 @@ struct _GtkAspectFrame
|
||||
struct _GtkAspectFrameClass
|
||||
{
|
||||
GtkFrameClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
|
||||
|
@ -59,6 +59,12 @@ struct _GtkButtonBox
|
||||
struct _GtkButtonBoxClass
|
||||
{
|
||||
GtkBoxClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
|
||||
|
@ -60,6 +60,12 @@ struct _GtkBin
|
||||
struct _GtkBinClass
|
||||
{
|
||||
GtkContainerClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
|
||||
|
@ -52,6 +52,12 @@ struct _GtkCssProvider
|
||||
struct _GtkCssProviderClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
GType gtk_css_provider_get_type (void) G_GNUC_CONST;
|
||||
|
@ -60,6 +60,12 @@ struct _GtkFixed
|
||||
struct _GtkFixedClass
|
||||
{
|
||||
GtkContainerClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
struct _GtkFixedChild
|
||||
|
@ -58,6 +58,12 @@ struct _GtkIconThemeClass
|
||||
GObjectClass parent_class;
|
||||
|
||||
void (* changed) (GtkIconTheme *icon_theme);
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -60,6 +60,12 @@ struct _GtkMisc
|
||||
struct _GtkMiscClass
|
||||
{
|
||||
GtkWidgetClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
|
||||
|
@ -45,6 +45,12 @@ struct _GtkModifierStyle
|
||||
struct _GtkModifierStyleClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
GType gtk_modifier_style_get_type (void) G_GNUC_CONST;
|
||||
|
@ -55,7 +55,7 @@ struct _GtkNumerableIconClass {
|
||||
GEmblemedIconClass parent_class;
|
||||
|
||||
/* padding for future class expansion */
|
||||
gpointer padding[8];
|
||||
gpointer padding[16];
|
||||
};
|
||||
|
||||
GType gtk_numerable_icon_get_type (void) G_GNUC_CONST;
|
||||
|
@ -75,6 +75,8 @@ struct _GtkStatusIconClass
|
||||
|
||||
void (*__gtk_reserved1);
|
||||
void (*__gtk_reserved2);
|
||||
void (*__gtk_reserved3);
|
||||
void (*__gtk_reserved4);
|
||||
};
|
||||
|
||||
GType gtk_status_icon_get_type (void) G_GNUC_CONST;
|
||||
|
@ -52,6 +52,12 @@ struct _GtkStyleContextClass
|
||||
GObjectClass parent_class;
|
||||
|
||||
void (* changed) (GtkStyleContext *context);
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
/* Default set of properties that GtkStyleContext may contain */
|
||||
|
@ -52,6 +52,12 @@ struct _GtkStyleProperties
|
||||
struct _GtkStylePropertiesClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
typedef gboolean (* GtkStylePropertyParser) (const gchar *string,
|
||||
|
Loading…
Reference in New Issue
Block a user