[tracker/tracker-0.8-with-ontology-cope-and-miner-fs-index: 11/17] libtracker-data: Refactor ontology-change coping, renamed a function
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8-with-ontology-cope-and-miner-fs-index: 11/17] libtracker-data: Refactor ontology-change coping, renamed a function
- Date: Thu, 20 May 2010 13:26:50 +0000 (UTC)
commit c0e94e98055c507b80cf8cc8a1a0c9ad779cac7e
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 734ff35..1a4cb9e 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;
@@ -2342,7 +2342,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 283dc34..037b287 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]