[tracker/binary-log-2: 42/50] libtracker-data: Fixed to follow recent API changes to tracker-db-journal



commit 20980fd02c7f113f5b7a279411e287341914db0b
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Jan 4 19:19:21 2010 +0000

    libtracker-data: Fixed to follow recent API changes to tracker-db-journal

 src/libtracker-data/tracker-data-backup.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-backup.c b/src/libtracker-data/tracker-data-backup.c
index c20e422..cdff110 100644
--- a/src/libtracker-data/tracker-data-backup.c
+++ b/src/libtracker-data/tracker-data-backup.c
@@ -84,7 +84,7 @@ tracker_data_backup_save (GFile *destination,
 
 	info = g_new0 (BackupSaveInfo, 1);
 	info->destination = g_object_ref (destination);
-	info->journal = g_file_new_for_path (tracker_db_journal_filename ());
+	info->journal = g_file_new_for_path (tracker_db_journal_get_filename ());
 	info->callback = callback;
 	info->user_data = user_data;
 	info->destroy = destroy;
@@ -120,10 +120,10 @@ tracker_data_backup_restore (GFile *journal,
 	BackupSaveInfo *info;
 
 	tracker_db_manager_disconnect ();
-	tracker_db_journal_close ();
+	tracker_db_journal_shutdown ();
 
 	info = g_new0 (BackupSaveInfo, 1);
-	info->destination = g_file_new_for_path (tracker_db_journal_filename ());
+	info->destination = g_file_new_for_path (tracker_db_journal_get_filename ());
 	info->journal = g_object_ref (journal);
 	info->callback = callback;
 	info->user_data = user_data;
@@ -136,7 +136,7 @@ tracker_data_backup_restore (GFile *journal,
 	             NULL, NULL, NULL,
 	             &info->error);
 
-	tracker_db_journal_open (NULL);
+	tracker_db_journal_init (NULL);
 	/* tracker_db_journal_replay (); */
 	tracker_db_manager_reconnect ();
 



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