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:
Michael Natterer 2011-01-25 22:29:00 +01:00
parent e521158973
commit 3933f99ed7
15 changed files with 76 additions and 2 deletions

View File

@ -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);
};

View File

@ -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;

View File

@ -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);
};

View File

@ -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);
};

View File

@ -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);
};

View File

@ -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);
};

View File

@ -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;

View File

@ -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

View File

@ -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);
};
/**

View File

@ -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);
};

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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 */

View File

@ -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,