[grilo] core: Added padding for public structures in grl-media-image
- 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-image
- Date: Mon, 17 Jan 2011 09:08:08 +0000 (UTC)
commit d2ece2ed2bd0b4724e2eb98fe982eed95ccf8b25
Author: Iago Toral Quiroga <itoral igalia com>
Date: Fri Jan 14 11:11:40 2011 +0100
core: Added padding for public structures in grl-media-image
src/data/grl-media-image.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/data/grl-media-image.h b/src/data/grl-media-image.h
index 8828b1d..324d640 100644
--- a/src/data/grl-media-image.h
+++ b/src/data/grl-media-image.h
@@ -30,7 +30,7 @@
#define _GRL_MEDIA_IMAGE_H_
#include <grl-media.h>
-
+#include <grl-definitions.h>
G_BEGIN_DECLS
@@ -72,11 +72,17 @@ typedef struct _GrlMediaImageClass GrlMediaImageClass;
struct _GrlMediaImageClass
{
GrlMediaClass parent_class;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
struct _GrlMediaImage
{
GrlMedia parent;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
};
void grl_media_image_set_width (GrlMediaImage *data, gint width);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]