[tracker] Fixed a few critical warnings
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Fixed a few critical warnings
- Date: Wed, 29 Jul 2009 16:36:56 +0000 (UTC)
commit b6442b43fae47a1228625b708693d122e35e8c3d
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Jul 29 18:34:19 2009 +0200
Fixed a few critical warnings
src/tracker-miner-fs/modules/evolution-imap.c | 1 +
src/tracker-miner-fs/modules/evolution-pop.c | 1 +
src/tracker-miner-fs/tracker-crawler.c | 3 ++-
3 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-miner-fs/modules/evolution-imap.c b/src/tracker-miner-fs/modules/evolution-imap.c
index b88506c..1ba4226 100644
--- a/src/tracker-miner-fs/modules/evolution-imap.c
+++ b/src/tracker-miner-fs/modules/evolution-imap.c
@@ -1088,6 +1088,7 @@ get_attachment_metadata (TrackerModuleFile *file,
evolution_common_get_wrapper_metadata (wrapper, sparql, uri);
+ tracker_sparql_builder_subject_iri (sparql, uri);
tracker_sparql_builder_predicate (sparql, "tracker:available");
tracker_sparql_builder_object_boolean (sparql, TRUE);
diff --git a/src/tracker-miner-fs/modules/evolution-pop.c b/src/tracker-miner-fs/modules/evolution-pop.c
index c0d4e3b..8cba6d4 100644
--- a/src/tracker-miner-fs/modules/evolution-pop.c
+++ b/src/tracker-miner-fs/modules/evolution-pop.c
@@ -417,6 +417,7 @@ get_attachment_metadata (TrackerModuleFile *file, GMimePart *part)
evolution_common_get_wrapper_metadata (content, sparql, uri);
+ tracker_sparql_builder_subject_iri (sparql, uri);
tracker_sparql_builder_predicate (sparql, "tracker:available");
tracker_sparql_builder_object_boolean (sparql, TRUE);
diff --git a/src/tracker-miner-fs/tracker-crawler.c b/src/tracker-miner-fs/tracker-crawler.c
index 1cc1be3..fa0af8f 100644
--- a/src/tracker-miner-fs/tracker-crawler.c
+++ b/src/tracker-miner-fs/tracker-crawler.c
@@ -852,7 +852,8 @@ file_enumerate_children_cb (GObject *file,
uri = g_file_get_uri (parent);
- g_critical ("Could not open directory '%s': %s",
+ /* Permission denied isn't worth a critical */
+ g_message ("Could not open directory '%s': %s",
uri, error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]