[tracker/writeback-miner-interaction-0.10: 8/14] tracker-extract, tiff: Fix indentation issues



commit a0ed33a0c831726985d2f95fdb3de51ab1ec1abb
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jun 7 14:52:14 2011 +0200

    tracker-extract, tiff: Fix indentation issues

 src/tracker-extract/tracker-extract-tiff.c |   37 ++++++++++++++-------------
 1 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-tiff.c b/src/tracker-extract/tracker-extract-tiff.c
index 45a13a1..752dfd8 100644
--- a/src/tracker-extract/tracker-extract-tiff.c
+++ b/src/tracker-extract/tracker-extract-tiff.c
@@ -376,7 +376,8 @@ extract_tiff (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);
@@ -486,38 +487,38 @@ extract_tiff (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);
 			}
 
@@ -525,17 +526,17 @@ extract_tiff (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]