diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-19 15:41:12 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-19 16:24:44 +0000 |
commit | bd6c4a0dec073d6f3ec360bc0045536c211c4cd1 (patch) | |
tree | fc6d5b4d7ab93118a832ca2b0fc9e9324194c790 /gtk/gtkwindow.h | |
parent | eed37cd59a8d5248ea7bea0e5d385de73f362812 (diff) | |
download | gtk+-bd6c4a0dec073d6f3ec360bc0045536c211c4cd1.tar.gz |
Padding review
Ensure that the class structs of all subclassable
types have sufficient padding (standardizing on 8
slots, here).
GtkApplication
GtkWidget
GtkContainer
GtkWindow
GtkDialog
GtkApplicationWindow
GtkToolItem
GtkBin
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 89e5365679..1d0766593e 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -81,11 +81,7 @@ struct _GtkWindowClass gboolean (* close_request) (GtkWindow *window); /*< private >*/ - - /* Padding for future expansion */ - void (*_gtk_reserved1) (void); - void (*_gtk_reserved2) (void); - void (*_gtk_reserved3) (void); + gpointer padding[8]; }; /** |