[tracker/writeback-miner-interaction-0.10: 7/14] tracker-extract, png: Fix indentation issues
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/writeback-miner-interaction-0.10: 7/14] tracker-extract, png: Fix indentation issues
- Date: Wed, 8 Jun 2011 10:05:38 +0000 (UTC)
commit 7aba91f68221a762e8b0636076afab2be11b35bb
Author: Philip Van Hoof <philip codeminded be>
Date: Tue Jun 7 14:50:52 2011 +0200
tracker-extract, png: Fix indentation issues
src/tracker-extract/tracker-extract-png.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-png.c b/src/tracker-extract/tracker-extract-png.c
index 2e8245a..8365d73 100644
--- a/src/tracker-extract/tracker-extract-png.c
+++ b/src/tracker-extract/tracker-extract-png.c
@@ -431,35 +431,35 @@ 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);
}
-
+
if (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);
}
-
+
if (xd->country) {
tracker_sparql_builder_predicate (preupdate, "nco:country");
tracker_sparql_builder_object_unvalidated (preupdate, xd->country);
@@ -467,19 +467,19 @@ read_metadata (TrackerSparqlBuilder *preupdate,
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]