[grilo] core: Added padding for public structures in grl-media-box
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Added padding for public structures in grl-media-box
- Date: Mon, 17 Jan 2011 09:07:58 +0000 (UTC)
commit 93a915d311254760e8ce3ecfd942d418a1ed83b8
Author: Iago Toral Quiroga <itoral igalia com>
Date: Fri Jan 14 11:07:56 2011 +0100
core: Added padding for public structures in grl-media-box
src/data/grl-media-box.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/data/grl-media-box.h b/src/data/grl-media-box.h
index 55d7e1b..ed5dbd8 100644
--- a/src/data/grl-media-box.h
+++ b/src/data/grl-media-box.h
@@ -30,7 +30,7 @@
#define _GRL_MEDIA_BOX_H_
#include <grl-media.h>
-
+#include <grl-definitions.h>
G_BEGIN_DECLS
@@ -72,11 +72,17 @@ typedef struct _GrlMediaBoxClass GrlMediaBoxClass;
struct _GrlMediaBoxClass
{
GrlMediaClass parent_class;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
struct _GrlMediaBox
{
GrlMedia parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
};
GType grl_media_box_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]