[tracker/rss-enclosures] NB#162546 - tracker-miner-fs is emitting criticals after resuming...
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] NB#162546 - tracker-miner-fs is emitting criticals after resuming...
- Date: Mon, 3 May 2010 00:29:47 +0000 (UTC)
commit 88e02b7248dc8d83729363b7b30c0b5a30e54ca4
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Apr 8 12:56:10 2010 +0200
NB#162546 - tracker-miner-fs is emitting criticals after resuming...
Make sure the timer is stopped on tracker_crawler_start() if it was previously
paused.
src/libtracker-miner/tracker-crawler.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-crawler.c b/src/libtracker-miner/tracker-crawler.c
index 753a528..7363a6c 100644
--- a/src/libtracker-miner/tracker-crawler.c
+++ b/src/libtracker-miner/tracker-crawler.c
@@ -790,6 +790,10 @@ tracker_crawler_start (TrackerCrawler *crawler,
priv->timer = g_timer_new ();
+ if (priv->is_paused) {
+ g_timer_stop (priv->timer);
+ }
+
/* Set as running now */
priv->is_running = TRUE;
priv->is_finished = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]