[grilo] core: Added padding for public structures in grl-config
- From: Iago Toral Quiroga <itoral src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [grilo] core: Added padding for public structures in grl-config
 
- Date: Mon, 17 Jan 2011 09:07:43 +0000 (UTC)
 
commit 7083c2e8d0cd724fd77e63fba7e16353a8006854
Author: Iago Toral Quiroga <itoral igalia com>
Date:   Fri Jan 14 10:30:31 2011 +0100
    core: Added padding for public structures in grl-config
 src/data/grl-config.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/data/grl-config.h b/src/data/grl-config.h
index 86d68ce..7308904 100644
--- a/src/data/grl-config.h
+++ b/src/data/grl-config.h
@@ -29,6 +29,8 @@
 #include <glib.h>
 #include <glib-object.h>
 
+#include <grl-definitions.h>
+
 #ifndef _GRL_CONFIG_H_
 #define _GRL_CONFIG_H_
 
@@ -79,6 +81,9 @@ typedef struct _GrlConfigClass   GrlConfigClass;
 struct _GrlConfigClass
 {
   GObjectClass parent_class;
+
+  /*< private >*/
+  gpointer _grl_reserved[GRL_PADDING];
 };
 
 struct _GrlConfig
@@ -87,6 +92,8 @@ struct _GrlConfig
 
   /*< private >*/
   GrlConfigPrivate *priv;
+
+  gpointer _grl_reserved[GRL_PADDING_SMALL];
 };
 
 void grl_config_set_plugin (GrlConfig *config, const gchar *plugin);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]