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



commit e0dc88a5d5a1401ff31a2ddb0ba92b594e5b6b30
Author: Iago Toral Quiroga <itoral igalia com>
Date:   Thu Jan 13 17:53:49 2011 +0100

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

 src/grl-media-plugin.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-media-plugin.h b/src/grl-media-plugin.h
index 8947500..e8d57db 100644
--- a/src/grl-media-plugin.h
+++ b/src/grl-media-plugin.h
@@ -30,6 +30,8 @@
 #include <glib.h>
 #include <glib-object.h>
 
+#include "grl-definitions.h"
+
 /* Info */
 
 #define GRL_MEDIA_PLUGIN_NAME "name"
@@ -78,6 +80,8 @@ struct _GrlMediaPlugin {
 
   /*< private >*/
   GrlMediaPluginPrivate *priv;
+
+  gpointer _grl_reserved[GRL_PADDING];
 };
 
 /* GrlMediaPlugin class */
@@ -92,6 +96,8 @@ struct _GrlMediaPluginClass {
 
   GObjectClass parent_class;
 
+  /*< private >*/
+  gpointer _grl_reserved[GRL_PADDING];
 };
 
 /* Function prototypes */



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