[tracker] libtracker-data: Fix compile errors with --disable-journal



commit 3672244388fe9ce5536bd20cb13aea1ff4caa8aa
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jun 29 22:13:41 2017 +0200

    libtracker-data: Fix compile errors with --disable-journal

 src/libtracker-data/tracker-data-backup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-backup.c b/src/libtracker-data/tracker-data-backup.c
index c252ad9..28fd13b 100644
--- a/src/libtracker-data/tracker-data-backup.c
+++ b/src/libtracker-data/tracker-data-backup.c
@@ -705,14 +705,14 @@ tracker_data_backup_restore (TrackerDataManager   *manager,
 
 #ifdef DISABLE_JOURNAL
                if (internal_error) {
-                       restore_from_temp ();
+                       restore_from_temp (cache_location, data_location);
                        g_object_unref (manager);
 
                        manager = tracker_data_manager_new (flags, cache_location, data_location, 
ontology_location,
                                                            TRUE, TRUE, select_cache_size, update_cache_size);
                        g_initable_init (G_INITABLE (manager), NULL, &internal_error);
                } else {
-                       remove_temp ();
+                       remove_temp (cache_location, data_location);
                }
 #endif /* DISABLE_JOURNAL */
 


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