[tracker] libtracker-data: Refactor ontology-change coping, renamed a function
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Refactor ontology-change coping, renamed a function
- Date: Mon, 12 Apr 2010 14:05:28 +0000 (UTC)
commit 5b1dbd27dc55b12ad07a51d615ab958ff59a0844
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Apr 8 18:15:54 2010 +0200
libtracker-data: Refactor ontology-change coping, renamed a function
src/libtracker-data/tracker-data-manager.c | 6 +++---
src/libtracker-data/tracker-data-manager.h | 2 +-
src/libtracker-data/tracker-data-update.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 2c9108f..fb95746 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -669,8 +669,8 @@ tracker_data_ontology_load_statement (const gchar *ontology_path,
}
void
-tracker_data_ontology_post_check (GPtrArray *seen_classes,
- GPtrArray *seen_properties)
+tracker_data_ontology_process_changes (GPtrArray *seen_classes,
+ GPtrArray *seen_properties)
{
gint i;
@@ -2345,7 +2345,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
if (to_reload) {
/* Perform ALTER-TABLE and CREATE-TABLE calls for all that are is_new */
- tracker_data_ontology_post_check (seen_classes, seen_properties);
+ tracker_data_ontology_process_changes (seen_classes, seen_properties);
tracker_data_ontology_import_into_db (TRUE);
diff --git a/src/libtracker-data/tracker-data-manager.h b/src/libtracker-data/tracker-data-manager.h
index 38a5f2c..d956fff 100644
--- a/src/libtracker-data/tracker-data-manager.h
+++ b/src/libtracker-data/tracker-data-manager.h
@@ -70,7 +70,7 @@ void tracker_data_ontology_process_statement (const gchar *graph,
gboolean in_update,
gboolean ignore_nao_last_modified);
void tracker_data_ontology_import_finished (void);
-void tracker_data_ontology_post_check (GPtrArray *seen_classes,
+void tracker_data_ontology_process_changes (GPtrArray *seen_classes,
GPtrArray *seen_properties);
void tracker_data_ontology_free_seen (GPtrArray *seen);
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 0d766cc..2ce8b2e 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2381,7 +2381,7 @@ ontology_transaction_end (GList *ontology_queue, GPtrArray *seen_classes, GPtrAr
GList *l;
const gchar *ontology_uri = NULL;
- tracker_data_ontology_post_check (seen_classes, seen_properties);
+ tracker_data_ontology_process_changes (seen_classes, seen_properties);
/* Perform ALTER-TABLE and CREATE-TABLE calls for all that are is_new */
tracker_data_ontology_import_into_db (TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]