[tracker/gps] tracker-extract, png: Fix indentation issues
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gps] tracker-extract, png: Fix indentation issues
- Date: Tue, 7 Jun 2011 12:57:31 +0000 (UTC)
commit 90f064265a90bbe1a35ad865f8da8eb31fb6b43f
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]