diff options
author | David Zeuthen <davidz@redhat.com> | 2010-06-22 12:12:16 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2010-06-22 12:14:31 -0400 |
commit | 2be38f6926d8bf2738c3898e831dcb3928925f90 (patch) | |
tree | dec7338699d276db5fb4aa8c73edcfb287888f4b /gio/gdbusauthmechanismexternal.h | |
parent | d19380c809525559f55ba5f3304c0e787c2ebfac (diff) | |
download | glib-2be38f6926d8bf2738c3898e831dcb3928925f90.tar.gz |
GDBus: update padding
Add lots of padding for public class structures. Notably, we seemed to
lack any padding whatsoever in the GDBusMessageClass struct (spotted
by Dan Winship). Also switch to using
gpointer padding[N];
instead of
void (*_g_reserved1) (void);
...
void (*_g_reservedN) (void);
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'gio/gdbusauthmechanismexternal.h')
-rw-r--r-- | gio/gdbusauthmechanismexternal.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/gio/gdbusauthmechanismexternal.h b/gio/gdbusauthmechanismexternal.h index 552dd2e71..7c086f9b9 100644 --- a/gio/gdbusauthmechanismexternal.h +++ b/gio/gdbusauthmechanismexternal.h @@ -50,22 +50,7 @@ struct _GDBusAuthMechanismExternalClass /*< private >*/ /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); - void (*_g_reserved6) (void); - void (*_g_reserved7) (void); - void (*_g_reserved8) (void); - void (*_g_reserved9) (void); - void (*_g_reserved10) (void); - void (*_g_reserved11) (void); - void (*_g_reserved12) (void); - void (*_g_reserved13) (void); - void (*_g_reserved14) (void); - void (*_g_reserved15) (void); - void (*_g_reserved16) (void); + gpointer padding[16]; }; struct _GDBusAuthMechanismExternal |