mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Fix G_ADD_PRIVATE_DYNAMIC()
This commit is contained in:
parent
d0b4f59e8c
commit
9551a81198
@ -243,7 +243,7 @@ type_name##_register_type (GTypeModule *type_module) \
|
||||
}
|
||||
|
||||
#define G_ADD_PRIVATE_DYNAMIC(TypeName) { \
|
||||
TypeName##_private_offset = sizeof (TypeNamePrivate); \
|
||||
TypeName##_private_offset = sizeof (TypeName##Private); \
|
||||
}
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
|
Loading…
Reference in New Issue
Block a user