[tracker/api-cleanup: 12/13] libtracker-miner: Add padding pointers to *Class structs
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/api-cleanup: 12/13] libtracker-miner: Add padding pointers to *Class structs
- Date: Thu, 13 Feb 2014 12:53:41 +0000 (UTC)
commit f8656f63abf57689c78515efa47ecf9e4c6de6af
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Feb 10 23:29:32 2014 +0100
libtracker-miner: Add padding pointers to *Class structs
Will be useful for long term ABI compat.
src/libtracker-miner/tracker-decorator-fs.h | 3 +++
src/libtracker-miner/tracker-decorator.h | 3 +++
src/libtracker-miner/tracker-indexing-tree.h | 3 +++
src/libtracker-miner/tracker-miner-fs.h | 2 ++
src/libtracker-miner/tracker-miner-object.h | 3 +++
5 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-decorator-fs.h b/src/libtracker-miner/tracker-decorator-fs.h
index 538c97e..76a8ef1 100644
--- a/src/libtracker-miner/tracker-decorator-fs.h
+++ b/src/libtracker-miner/tracker-decorator-fs.h
@@ -57,6 +57,9 @@ struct _TrackerDecoratorFS {
**/
struct _TrackerDecoratorFSClass {
TrackerDecoratorClass parent_class;
+
+ /* <Private> */
+ gpointer padding[10];
};
GType tracker_decorator_fs_get_type (void) G_GNUC_CONST;
diff --git a/src/libtracker-miner/tracker-decorator.h b/src/libtracker-miner/tracker-decorator.h
index 5317555..e51d8f5 100644
--- a/src/libtracker-miner/tracker-decorator.h
+++ b/src/libtracker-miner/tracker-decorator.h
@@ -65,6 +65,9 @@ struct _TrackerDecoratorClass {
void (* items_available) (TrackerDecorator *decorator);
void (* finished) (TrackerDecorator *decorator);
+
+ /* <Private> */
+ gpointer padding[10];
};
GType tracker_decorator_get_type (void) G_GNUC_CONST;
diff --git a/src/libtracker-miner/tracker-indexing-tree.h b/src/libtracker-miner/tracker-indexing-tree.h
index 65fc430..a2184ba 100644
--- a/src/libtracker-miner/tracker-indexing-tree.h
+++ b/src/libtracker-miner/tracker-indexing-tree.h
@@ -70,6 +70,9 @@ typedef struct {
GFile *directory);
void (* directory_updated) (TrackerIndexingTree *indexing_tree,
GFile *directory);
+
+ /* <Private> */
+ gpointer padding[10];
} TrackerIndexingTreeClass;
GType tracker_indexing_tree_get_type (void) G_GNUC_CONST;
diff --git a/src/libtracker-miner/tracker-miner-fs.h b/src/libtracker-miner/tracker-miner-fs.h
index f4642a1..77c036e 100644
--- a/src/libtracker-miner/tracker-miner-fs.h
+++ b/src/libtracker-miner/tracker-miner-fs.h
@@ -91,6 +91,8 @@ typedef struct {
GFile *file,
GStrv rdf_types,
GPtrArray *results);
+ /* <Private> */
+ gpointer padding[10];
} TrackerMinerFSClass;
GType tracker_miner_fs_get_type (void) G_GNUC_CONST;
diff --git a/src/libtracker-miner/tracker-miner-object.h b/src/libtracker-miner/tracker-miner-object.h
index 611917d..87c4d97 100644
--- a/src/libtracker-miner/tracker-miner-object.h
+++ b/src/libtracker-miner/tracker-miner-object.h
@@ -82,6 +82,9 @@ typedef struct {
void (* ignore_next_update) (TrackerMiner *miner,
const GStrv urls);
+
+ /* <Private> */
+ gpointer padding[10];
} TrackerMinerClass;
GType tracker_miner_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]