[tracker] tracker-extract, jpeg: Fix indentation issues



commit 9aa7f91ed844d1a787f4491bca42ddfe66a624a8
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jun 7 14:55:28 2011 +0200

    tracker-extract, jpeg: Fix indentation issues

 src/tracker-extract/tracker-extract-jpeg.c |   43 ++++++++++++++-------------
 1 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
index a1113de..bf271f1 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -75,9 +75,9 @@ typedef struct {
 	const gchar *state;
 	const gchar *address;
 	const gchar *country;
-        const gchar *gps_altitude;
-        const gchar *gps_latitude;
-        const gchar *gps_longitude;
+	const gchar *gps_altitude;
+	const gchar *gps_latitude;
+	const gchar *gps_longitude;
 } MergeData;
 
 struct tej_error_mgr {
@@ -249,7 +249,8 @@ tracker_extract_get_metadata (const gchar          *uri,
 	md.state = tracker_coalesce_strip (2, xd->state, id->state);
 	md.address = tracker_coalesce_strip (2, xd->address, id->sublocation);
 	md.country = tracker_coalesce_strip (2, xd->country, id->country_name);
-        /* FIXME We are not handling the altitude ref here for xmp */
+
+	/* FIXME We are not handling the altitude ref here for xmp */
 	md.gps_altitude = tracker_coalesce_strip (2, xd->gps_altitude, ed->gps_altitude);
 	md.gps_latitude = tracker_coalesce_strip (2, xd->gps_latitude, ed->gps_latitude);
 	md.gps_longitude = tracker_coalesce_strip (2, xd->gps_longitude, ed->gps_longitude);
@@ -560,38 +561,38 @@ tracker_extract_get_metadata (const gchar          *uri,
 		tracker_sparql_builder_object (metadata, "slo:GeoLocation");
 
 		if (md.address || md.state || md.country || md.city) {
-	                gchar *addruri;
+			gchar *addruri;
 
-		        addruri = tracker_sparql_get_uuid_urn ();
+			addruri = tracker_sparql_get_uuid_urn ();
 
-		        tracker_sparql_builder_predicate (metadata, "slo:postalAddress");
-	                tracker_sparql_builder_object_iri (metadata, addruri);
+			tracker_sparql_builder_predicate (metadata, "slo:postalAddress");
+			tracker_sparql_builder_object_iri (metadata, addruri);
 
-		        tracker_sparql_builder_insert_open (preupdate, NULL);
-		        tracker_sparql_builder_subject_iri (preupdate, addruri);
+			tracker_sparql_builder_insert_open (preupdate, NULL);
+			tracker_sparql_builder_subject_iri (preupdate, addruri);
 
-		        g_free (addruri);
+			g_free (addruri);
 
-		        tracker_sparql_builder_predicate (preupdate, "a");
-		        tracker_sparql_builder_object (preupdate, "nco:PostalAddress");
+			tracker_sparql_builder_predicate (preupdate, "a");
+			tracker_sparql_builder_object (preupdate, "nco:PostalAddress");
 
 			if (md.address) {
-			        tracker_sparql_builder_predicate (preupdate, "nco:streetAddress");
-			        tracker_sparql_builder_object_unvalidated (preupdate, md.address);
+				tracker_sparql_builder_predicate (preupdate, "nco:streetAddress");
+				tracker_sparql_builder_object_unvalidated (preupdate, md.address);
 			}
 
 			if (md.state) {
-			        tracker_sparql_builder_predicate (preupdate, "nco:region");
+				tracker_sparql_builder_predicate (preupdate, "nco:region");
 				tracker_sparql_builder_object_unvalidated (preupdate, md.state);
 			}
 
 			if (md.city) {
-			        tracker_sparql_builder_predicate (preupdate, "nco:locality");
+				tracker_sparql_builder_predicate (preupdate, "nco:locality");
 				tracker_sparql_builder_object_unvalidated (preupdate, md.city);
 			}
 
 			if (md.country) {
-			        tracker_sparql_builder_predicate (preupdate, "nco:country");
+				tracker_sparql_builder_predicate (preupdate, "nco:country");
 				tracker_sparql_builder_object_unvalidated (preupdate, md.country);
 			}
 
@@ -599,17 +600,17 @@ tracker_extract_get_metadata (const gchar          *uri,
 		}
 
 		if (md.gps_altitude) {
-		        tracker_sparql_builder_predicate (metadata, "slo:altitude");
+			tracker_sparql_builder_predicate (metadata, "slo:altitude");
 			tracker_sparql_builder_object_unvalidated (metadata, md.gps_altitude);
 		}
 
 		if (md.gps_latitude) {
-		        tracker_sparql_builder_predicate (metadata, "slo:latitude");
+			tracker_sparql_builder_predicate (metadata, "slo:latitude");
 			tracker_sparql_builder_object_unvalidated (metadata, md.gps_latitude);
 		}
 
 		if (md.gps_longitude) {
-		        tracker_sparql_builder_predicate (metadata, "slo:longitude");
+			tracker_sparql_builder_predicate (metadata, "slo:longitude");
 			tracker_sparql_builder_object_unvalidated (metadata, md.gps_longitude);
 		}
 



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