[grilo] core: Added padding for public structures in grl-media-video



commit df2971ad10be9a68c27385ada9f1ec1c61d562b7
Author: Iago Toral Quiroga <itoral igalia com>
Date:   Fri Jan 14 11:13:15 2011 +0100

    core: Added padding for public structures in grl-media-video

 src/data/grl-media-video.h |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/data/grl-media-video.h b/src/data/grl-media-video.h
index f79cebe..181b7c6 100644
--- a/src/data/grl-media-video.h
+++ b/src/data/grl-media-video.h
@@ -30,7 +30,7 @@
 #define _GRL_MEDIA_VIDEO_H_
 
 #include <grl-media.h>
-
+#include <grl-definitions.h>
 
 G_BEGIN_DECLS
 
@@ -72,11 +72,17 @@ typedef struct _GrlMediaVideoClass GrlMediaVideoClass;
 struct _GrlMediaVideoClass
 {
   GrlMediaClass parent_class;
+
+  /*< private >*/
+  gpointer _grl_reserved[GRL_PADDING];
 };
 
 struct _GrlMediaVideo
 {
   GrlMedia parent;
+
+  /*< private >*/
+  gpointer _grl_reserved[GRL_PADDING_SMALL];
 };
 
 void grl_media_video_set_width (GrlMediaVideo *data, gint width);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]