[tracker/anonymous-file-nodes: 15/28] Fixed a critical warning on Writeback()
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/anonymous-file-nodes: 15/28] Fixed a critical warning on Writeback()
- Date: Wed, 3 Feb 2010 10:32:42 +0000 (UTC)
commit bee8e72a88f70803f285a6d7902556def0557924
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Jan 28 17:11:02 2010 +0100
Fixed a critical warning on Writeback()
src/libtracker-miner/tracker-miner-fs.c | 4 ++--
src/tracker-miner-fs/tracker-miner-files.c | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index fe63372..ce6caa7 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1192,10 +1192,10 @@ item_writeback (TrackerMinerFS *fs,
g_debug ("Updating item: '%s' (Writeback event)", uri);
- if (!item_query_exists (fs, working_file, NULL, NULL)) {
+ /* if (!item_query_exists (fs, working_file, NULL, NULL)) {
g_debug (" File does not exist anyway (uri:'%s')", uri);
return TRUE;
- }
+ } */
cancellable = g_cancellable_new ();
sparql = tracker_sparql_builder_new_update ();
diff --git a/src/tracker-miner-fs/tracker-miner-files.c b/src/tracker-miner-fs/tracker-miner-files.c
index 804d3c1..08cb494 100644
--- a/src/tracker-miner-fs/tracker-miner-files.c
+++ b/src/tracker-miner-fs/tracker-miner-files.c
@@ -1467,8 +1467,6 @@ miner_files_writeback_file (TrackerMinerFS *fs,
tracker_sparql_builder_insert_close (sparql);
- tracker_sparql_builder_insert_close (sparql);
-
tracker_sparql_builder_where_open (sparql);
tracker_sparql_builder_subject_variable (sparql, "urn");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]