[tracker/writeback-miner-interaction: 5/19] libtracker-extract, xmp, exif: Make sure we don't break the ABI



commit 8619b20ebd8a3dc93887e784b19636ef1e785f78
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jun 7 14:45:29 2011 +0200

    libtracker-extract, xmp, exif: Make sure we don't break the ABI

 src/libtracker-extract/tracker-exif.h |    8 +++++---
 src/libtracker-extract/tracker-xmp.h  |   12 +++++++-----
 2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-exif.h b/src/libtracker-extract/tracker-exif.h
index 219caa6..eec879c 100644
--- a/src/libtracker-extract/tracker-exif.h
+++ b/src/libtracker-extract/tracker-exif.h
@@ -52,10 +52,12 @@ typedef struct {
 	gchar *software;
 	gchar *x_resolution;
 	gchar *y_resolution;
-        gchar *gps_altitude;
-        gchar *gps_latitude;
-        gchar *gps_longitude;
 	gint resolution_unit;
+
+	/* ABI barrier (don't change things above this) */
+	gchar *gps_altitude;
+	gchar *gps_latitude;
+	gchar *gps_longitude;
 } TrackerExifData;
 
 TrackerExifData * tracker_exif_new   (const guchar *buffer,
diff --git a/src/libtracker-extract/tracker-xmp.h b/src/libtracker-extract/tracker-xmp.h
index 91fdc51..b1b939e 100644
--- a/src/libtracker-extract/tracker-xmp.h
+++ b/src/libtracker-extract/tracker-xmp.h
@@ -73,11 +73,6 @@ typedef struct {
 	gchar *white_balance;
 	gchar *copyright;
 
-        gchar *gps_altitude;
-        gchar *gps_altitude_ref;
-        gchar *gps_latitude;
-        gchar *gps_longitude;
-
 	/* TODO NS_XAP*/
 	gchar *rating;
 
@@ -87,6 +82,13 @@ typedef struct {
 	gchar *country;
 	gchar *state;
 	gchar *city;
+
+	/* ABI barrier (don't change things above this) */
+	gchar *gps_altitude;
+	gchar *gps_altitude_ref;
+	gchar *gps_latitude;
+	gchar *gps_longitude;
+
 } TrackerXmpData;
 
 TrackerXmpData * tracker_xmp_new   (const gchar          *buffer,



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