[tracker/property-changes-for-review] libtracker-data: Codestyle changes



commit 96d36bc9f36c73a4450b0bc0984ee18361d7d1d1
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Apr 12 14:09:51 2010 +0200

    libtracker-data: Codestyle changes

 src/libtracker-data/tracker-data-manager.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 3882a0b..cf7968d 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -476,7 +476,6 @@ tracker_data_ontology_load_statement (const gchar *ontology_path,
 		}
 
 		tracker_class_set_notify (class, (strcmp (object, "true") == 0));
-
 	} else if (g_strcmp0 (predicate, TRACKER_PREFIX "writeback") == 0) {
 		TrackerProperty *property;
 
@@ -685,7 +684,9 @@ tracker_data_ontology_process_changes (GPtrArray *seen_classes,
 		for (i = 0; i < seen_classes->len; i++) {
 			TrackerClass *class = g_ptr_array_index (seen_classes, i);
 			const gchar *subject;
+
 			subject = tracker_class_get_uri (class);
+
 			if (tracker_class_get_notify (class)) {
 				update_property_value ("tracker:notify",
 				                       subject,
@@ -706,7 +707,9 @@ tracker_data_ontology_process_changes (GPtrArray *seen_classes,
 		for (i = 0; i < seen_properties->len; i++) {
 			TrackerProperty *property = g_ptr_array_index (seen_properties, i);
 			const gchar *subject;
+
 			subject = tracker_property_get_uri (property);
+
 			if (tracker_property_get_writeback (property)) {
 				update_property_value ("tracker:writeback",
 				                       subject,
@@ -1363,6 +1366,7 @@ db_get_static_data (TrackerDBInterface *iface)
 				annotation = FALSE;
 			}
 
+			/* tracker:writeback column */
 			tracker_db_cursor_get_value (cursor, 10, &value);
 
 			if (G_VALUE_TYPE (&value) != 0) {
@@ -1373,6 +1377,7 @@ db_get_static_data (TrackerDBInterface *iface)
 				writeback = FALSE;
 			}
 
+			/* NRL_INVERSE_FUNCTIONAL_PROPERTY column */
 			tracker_db_cursor_get_value (cursor, 11, &value);
 
 			if (G_VALUE_TYPE (&value) != 0) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]