[tracker/writeback-miner-interaction-0.10: 11/14] tracker-extract, gif: Fix indentation issues
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/writeback-miner-interaction-0.10: 11/14] tracker-extract, gif: Fix indentation issues
- Date: Wed, 8 Jun 2011 10:05:59 +0000 (UTC)
commit d2dc1f5188158a0e7d0c13c325b13860dbd3468b
Author: Philip Van Hoof <philip codeminded be>
Date: Tue Jun 7 14:57:14 2011 +0200
tracker-extract, gif: Fix indentation issues
Conflicts:
src/tracker-extract/tracker-extract-gif.c
src/tracker-extract/tracker-extract-gif.c | 52 ++++++++++++++--------------
1 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index ac4205d..fa21718 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -55,8 +55,8 @@ static TrackerExtractData data[] = {
};
typedef struct {
- unsigned int byteCount;
- char *bytes;
+ unsigned int byteCount;
+ char *bytes;
} ExtBlock;
@@ -80,7 +80,7 @@ ext_block_append(ExtBlock *extBlock,
static void
read_metadata (TrackerSparqlBuilder *preupdate,
TrackerSparqlBuilder *metadata,
- GifFileType *gifFile,
+ GifFileType *gifFile,
const gchar *uri)
{
GifRecordType RecordType;
@@ -152,8 +152,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
@@ -445,55 +445,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]