[tracker/writeback-miner-interaction-0.10: 5/14] libtracker-extract, xmp, exif: Make sure we don't break the ABI
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/writeback-miner-interaction-0.10: 5/14] libtracker-extract, xmp, exif: Make sure we don't break the ABI
- Date: Wed, 8 Jun 2011 10:05:28 +0000 (UTC)
commit b8f71efe7330f78fa99b9398a1fbfab6b84b2f4a
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 0be4e0a..afc46ed 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]