diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-17 09:36:44 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-17 09:36:44 +0100 |
commit | 81db307cf974bdf5d7ed256c0353e4860d818bb6 (patch) | |
tree | 874e82aa6489a24e76c115c529b78769134aab61 | |
parent | 9d4f8e03f2b8704da87d7d375f52c5b700ca3296 (diff) |
timeline-object: Hide 0-sized padding array until we break ABI
0-sized arrays are not valid C and some compilers (VC++) complain about it.
-rw-r--r-- | ges/ges-timeline-object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ges/ges-timeline-object.h b/ges/ges-timeline-object.h index 0513c4a1..314cbf3d 100644 --- a/ges/ges-timeline-object.h +++ b/ges/ges-timeline-object.h @@ -221,7 +221,13 @@ struct _GESTimelineObjectClass { GESTimelineObjectClassPrivate *priv; /* Padding for API extension */ + /* FIXME: Add this again when breaking ABI but + * 0-sized arrays are not valid C and compilers + * complain about it + */ +#if 0 gpointer _ges_reserved[GES_PADDING - 4]; +#endif }; GType ges_timeline_object_get_type (void); |