[tracker/writeback-miner-interaction: 8/19] tracker-extract, tiff: Fix indentation issues
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/writeback-miner-interaction: 8/19] tracker-extract, tiff: Fix indentation issues
- Date: Fri, 10 Jun 2011 09:54:35 +0000 (UTC)
commit 93c28449e767f3a2f9ef84aacfb5fad4cd4f416f
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 1b9525e..e33cbda 100644
--- a/src/tracker-extract/tracker-extract-tiff.c
+++ b/src/tracker-extract/tracker-extract-tiff.c
@@ -368,7 +368,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);
@@ -478,38 +479,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);
}
@@ -517,17 +518,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]