From 600f8809354b7311e904127062ed7918ef7995eb Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sat, 23 Feb 2002 20:08:13 +0000 Subject: [PATCH] Add some padding to the class. Sat Feb 23 13:28:56 2002 Owen Taylor * gtypeplugin.h (struct _GTypePluginClass): Add some padding to the class. * gclosure.h (struct _GClosure): Fix typo in comment. --- gobject/ChangeLog | 7 +++++++ gobject/gclosure.h | 2 +- gobject/gtypemodule.h | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/gobject/ChangeLog b/gobject/ChangeLog index dbad57d19..8486ab3e8 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,10 @@ +Sat Feb 23 13:28:56 2002 Owen Taylor + + * gtypeplugin.h (struct _GTypePluginClass): Add some + padding to the class. + + * gclosure.h (struct _GClosure): Fix typo in comment. + 2002-02-20 Tor Lillqvist * gobject.def: Add g_value_set_object_take_ownership and diff --git a/gobject/gclosure.h b/gobject/gclosure.h index 6dd67c6c4..ecb5e3f2a 100644 --- a/gobject/gclosure.h +++ b/gobject/gclosure.h @@ -66,7 +66,7 @@ struct _GClosure /*< private >*/ guint in_inotify : 1; /*< private >*/ guint floating : 1; /*< protected >*/ guint derivative_flag : 1; - /*< puplic >*/ guint in_marshal : 1; + /*< public >*/ guint in_marshal : 1; /*< public >*/ guint is_invalid : 1; /*< private >*/ void (*marshal) (GClosure *closure, diff --git a/gobject/gtypemodule.h b/gobject/gtypemodule.h index 548283d41..11aed5d3b 100644 --- a/gobject/gtypemodule.h +++ b/gobject/gtypemodule.h @@ -53,6 +53,12 @@ struct _GTypeModuleClass gboolean (* load) (GTypeModule *module); void (* unload) (GTypeModule *module); + + /* Padding for future expansion */ + void (*reserved1) (void); + void (*reserved2) (void); + void (*reserved3) (void); + void (*reserved4) (void); }; GType g_type_module_get_type (void);