[grilo] core: Added padding for public structures in grl-media-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-media-source
- Date: Mon, 17 Jan 2011 09:07:22 +0000 (UTC)
commit c22af1fe4c336b39f978a4986ebc417197c9232a
Author: Iago Toral Quiroga <itoral igalia com>
Date: Thu Jan 13 18:05:06 2011 +0100
core: Added padding for public structures in grl-media-source
src/grl-media-source.h | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-media-source.h b/src/grl-media-source.h
index aaad0f4..b745c44 100644
--- a/src/grl-media-source.h
+++ b/src/grl-media-source.h
@@ -31,6 +31,7 @@
#include <grl-metadata-source.h>
#include <grl-data.h>
#include <grl-media-box.h>
+#include <grl-definitions.h>
#include <glib.h>
#include <glib-object.h>
@@ -74,6 +75,8 @@ struct _GrlMediaSource {
/*< private >*/
GrlMediaSourcePrivate *priv;
+
+ gpointer _grl_reserved[GRL_PADDING];
};
/* Callbacks for GrlMediaSource class */
@@ -167,6 +170,9 @@ typedef struct {
GrlMetadataResolutionFlags flags;
GrlMediaSourceResultCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMediaSourceBrowseSpec;
/**
@@ -194,6 +200,9 @@ typedef struct {
GrlMetadataResolutionFlags flags;
GrlMediaSourceResultCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMediaSourceSearchSpec;
/**
@@ -221,6 +230,9 @@ typedef struct {
GrlMetadataResolutionFlags flags;
GrlMediaSourceResultCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMediaSourceQuerySpec;
/**
@@ -244,6 +256,9 @@ typedef struct {
GrlMetadataResolutionFlags flags;
GrlMediaSourceMetadataCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMediaSourceMetadataSpec;
/**
@@ -263,6 +278,9 @@ typedef struct {
GrlMedia *media;
GrlMediaSourceStoreCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMediaSourceStoreSpec;
/**
@@ -282,6 +300,9 @@ typedef struct {
GrlMedia *media;
GrlMediaSourceRemoveCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMediaSourceRemoveSpec;
/**
@@ -303,6 +324,9 @@ typedef struct {
GrlMetadataResolutionFlags flags;
GrlMediaSourceMetadataCb callback;
gpointer user_data;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
} GrlMediaSourceMediaFromUriSpec;
@@ -354,6 +378,9 @@ struct _GrlMediaSourceClass {
void (*media_from_uri) (GrlMediaSource *source,
GrlMediaSourceMediaFromUriSpec *mfss);
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]