[tracker/urho-sync] Fixed a critical warning
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/urho-sync] Fixed a critical warning
- Date: Tue, 4 Aug 2009 14:43:11 +0000 (UTC)
commit b37be6edbf55d3b43960fa87fd3b0322c9ae121a
Author: Philip Van Hoof <philip codeminded be>
Date: Tue Aug 4 16:42:39 2009 +0200
Fixed a critical warning
src/libtracker-db/tracker-db-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index c26a433..f9f031c 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -1134,13 +1134,13 @@ tracker_db_manager_init (TrackerDBManagerFlags flags,
* conservative about using the backup, and not trusting the meta.db
* as much as we do right now) */
- meta_filename = tracker_db_manager_get_file (TRACKER_DB_METADATA);
+ meta_filename = dbs[TRACKER_DB_METADATA].abs_filename;
if (meta_filename) {
GFile *file;
file = g_file_new_for_path (meta_filename);
- if (g_file_query_exists (file, NULL)) {
+ if (!g_file_query_exists (file, NULL)) {
GFile *parent, *backup;
parent = g_file_get_parent (file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]