[tracker/writeback-miner-interaction: 7/19] 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: 7/19] tracker-extract, png: Fix indentation issues
- Date: Fri, 10 Jun 2011 09:54:30 +0000 (UTC)
commit ff5b457a359763a884e7a9e0213aaa7a7b2a53e2
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 e111213..b0e1e09 100644
--- a/src/tracker-extract/tracker-extract-png.c
+++ b/src/tracker-extract/tracker-extract-png.c
@@ -421,35 +421,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);
@@ -457,19 +457,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]