summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-19 17:02:50 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-19 17:18:48 +0000
commit3250e703b6bd022ed63176f93cc35e5323c3464f (patch)
tree5002e0fbfedf4d8f655934e8ec8bb4faf1648b3e /gtk/gtkbutton.h
parent54530334f4dd571472f4806b363daabc098a2d28 (diff)
downloadgtk+-3250e703b6bd022ed63176f93cc35e5323c3464f.tar.gz
Padding review
Ensure that the class structs of all subclassable types have sufficient padding (standardizing on 8 slots, here). GtkBox GtkButton GtkDrawingArea GtkFixed GtkFrame
Diffstat (limited to 'gtk/gtkbutton.h')
-rw-r--r--gtk/gtkbutton.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index c6a31b64ca..f3738f9166 100644
--- a/gtk/gtkbutton.h
+++ b/gtk/gtkbutton.h
@@ -70,11 +70,7 @@ struct _GtkButtonClass
/*< private >*/
- /* Padding for future expansion */
- void (*_gtk_reserved1) (void);
- void (*_gtk_reserved2) (void);
- void (*_gtk_reserved3) (void);
- void (*_gtk_reserved4) (void);
+ gpointer padding[8];
};