[grilo] core: Added padding for public structures in grl-metadata-source
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Added padding for public structures in grl-metadata-source
- Date: Mon, 17 Jan 2011 09:07:28 +0000 (UTC)
commit cd798751b5706152a2299eff5a27b39633c12e45
Author: Iago Toral Quiroga <itoral igalia com>
Date: Thu Jan 13 18:11:07 2011 +0100
core: Added padding for public structures in grl-metadata-source
src/grl-metadata-source.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-metadata-source.h b/src/grl-metadata-source.h
index b4c51af..327d1c8 100644
--- a/src/grl-metadata-source.h
+++ b/src/grl-metadata-source.h
@@ -30,6 +30,7 @@
#include <grl-media-plugin.h>
#include <grl-metadata-key.h>
#include <grl-media.h>
+#include <grl-definitions.h>
#include <glib.h>
#include <glib-object.h>
@@ -101,6 +102,8 @@ struct _GrlMetadataSource {
/*< private >*/
GrlMetadataSourcePrivate *priv;
+
+ gpointer _grl_reserved[GRL_PADDING];
};
/* Callbacks for GrlMetadataSource class */
@@ -158,6 +161,9 @@ typedef struct {
GrlMetadataResolutionFlags flags;
GrlMetadataSourceResolveCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMetadataSourceResolveSpec;
/**
@@ -180,6 +186,9 @@ typedef struct {
GrlMetadataSourceSetMetadataCb callback;
gpointer user_data;
GList *failed_keys;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMetadataSourceSetMetadataSpec;
/**
@@ -252,6 +261,9 @@ struct _GrlMetadataSourceClass {
void (*set_metadata) (GrlMetadataSource *source,
GrlMetadataSourceSetMetadataSpec *sms);
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]