[tracker/writeback-miner-interaction: 11/19] tracker-extract, gif: Fix indentation issues



commit 70af20606acc6fcc098e64f21ba828835da45e80
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jun 7 14:57:14 2011 +0200

    tracker-extract, gif: Fix indentation issues

 src/tracker-extract/tracker-extract-gif.c |   60 ++++++++++++++--------------
 1 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index 0e6ca98..a34c62d 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -46,8 +46,8 @@ typedef struct {
 } GifData;
 
 typedef struct {
-    unsigned int   byteCount;
-    char          *bytes;
+	unsigned int   byteCount;
+	char          *bytes;
 } ExtBlock;
 
 
@@ -72,7 +72,7 @@ static void
 read_metadata (TrackerSparqlBuilder *preupdate,
                TrackerSparqlBuilder *metadata,
                GString              *where,
-	       GifFileType          *gifFile,
+               GifFileType          *gifFile,
                const gchar          *uri)
 {
 	GifRecordType RecordType;
@@ -143,8 +143,8 @@ read_metadata (TrackerSparqlBuilder *preupdate,
 				}
 
 				xd = tracker_xmp_new (extBlock.bytes,
-						      extBlock.byteCount-XMP_MAGIC_TRAILER_LENGTH,
-						      uri);
+				                      extBlock.byteCount-XMP_MAGIC_TRAILER_LENGTH,
+				                      uri);
 
 				g_free (extBlock.bytes);
 			} else
@@ -432,55 +432,55 @@ read_metadata (TrackerSparqlBuilder *preupdate,
 		tracker_sparql_builder_object (metadata, "slo:GeoLocation");
 
 		if (xd->address || xd->state || xd->country || xd->city)  {
-		        gchar *addruri;
+			gchar *addruri;
 			addruri = tracker_sparql_get_uuid_urn ();
-			
+
 			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);
-			
+
 			g_free (addruri);
-			
+
 			tracker_sparql_builder_predicate (preupdate, "a");
 			tracker_sparql_builder_object (preupdate, "nco:PostalAddress");
-			
+
 			if (xd->address) {
-			  tracker_sparql_builder_predicate (preupdate, "nco:streetAddress");
-			  tracker_sparql_builder_object_unvalidated (preupdate, xd->address);
+				tracker_sparql_builder_predicate (preupdate, "nco:streetAddress");
+				tracker_sparql_builder_object_unvalidated (preupdate, xd->address);
 			}
-			
+
 			if (xd->state) {
-			  tracker_sparql_builder_predicate (preupdate, "nco:region");
-			  tracker_sparql_builder_object_unvalidated (preupdate, xd->state);
+				tracker_sparql_builder_predicate (preupdate, "nco:region");
+				tracker_sparql_builder_object_unvalidated (preupdate, xd->state);
 			}
-			
+
 			if (xd->city) {
-			  tracker_sparql_builder_predicate (preupdate, "nco:locality");
-			  tracker_sparql_builder_object_unvalidated (preupdate, xd->city);
+				tracker_sparql_builder_predicate (preupdate, "nco:locality");
+				tracker_sparql_builder_object_unvalidated (preupdate, xd->city);
 			}
-			
+
 			if (xd->country) {
-			  tracker_sparql_builder_predicate (preupdate, "nco:country");
-			  tracker_sparql_builder_object_unvalidated (preupdate, xd->country);
+				tracker_sparql_builder_predicate (preupdate, "nco:country");
+				tracker_sparql_builder_object_unvalidated (preupdate, xd->country);
 			}
 
 			tracker_sparql_builder_insert_close (preupdate);
 		}
-		
+
 		if (xd->gps_altitude) {
-		        tracker_sparql_builder_predicate (metadata, "slo:altitude");
+			tracker_sparql_builder_predicate (metadata, "slo:altitude");
 			tracker_sparql_builder_object_unvalidated (metadata, xd->gps_altitude);
 		}
 
 		if (xd->gps_latitude) {
-		        tracker_sparql_builder_predicate (metadata, "slo:latitude");
+			tracker_sparql_builder_predicate (metadata, "slo:latitude");
 			tracker_sparql_builder_object_unvalidated (metadata, xd->gps_latitude);
 		}
 
 		if (xd->gps_longitude) {
-		        tracker_sparql_builder_predicate (metadata, "slo:longitude");
+			tracker_sparql_builder_predicate (metadata, "slo:longitude");
 			tracker_sparql_builder_object_unvalidated (metadata, xd->gps_longitude);
 		}
 
@@ -511,10 +511,10 @@ read_metadata (TrackerSparqlBuilder *preupdate,
 
 G_MODULE_EXPORT gboolean
 tracker_extract_get_metadata (const gchar          *uri,
-			      const gchar          *mimetype,
-			      TrackerSparqlBuilder *preupdate,
-			      TrackerSparqlBuilder *metadata,
-			      GString              *where)
+                              const gchar          *mimetype,
+                              TrackerSparqlBuilder *preupdate,
+                              TrackerSparqlBuilder *metadata,
+                              GString              *where)
 {
 	goffset size;
 	GifFileType *gifFile = NULL;



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