[grilo] core: Added padding for public structures in grl-media
- 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
- Date: Mon, 17 Jan 2011 09:07:53 +0000 (UTC)
commit 5eab181e62786146a1b63b95482e539829c6b8d8
Author: Iago Toral Quiroga <itoral igalia com>
Date: Fri Jan 14 11:05:58 2011 +0100
core: Added padding for public structures in grl-media
src/data/grl-media.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/data/grl-media.h b/src/data/grl-media.h
index 9369614..8f0934e 100644
--- a/src/data/grl-media.h
+++ b/src/data/grl-media.h
@@ -30,6 +30,7 @@
#define _GRL_MEDIA_H_
#include <grl-data.h>
+#include <grl-definitions.h>
G_BEGIN_DECLS
@@ -85,11 +86,17 @@ typedef struct _GrlMediaClass GrlMediaClass;
struct _GrlMediaClass
{
GrlDataClass parent_class;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
struct _GrlMedia
{
GrlData parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
};
void grl_media_set_id (GrlMedia *data, const gchar *id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]