[tracker-miners] tracker-miner-fs: Fix miner startup when there's a timeout
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] tracker-miner-fs: Fix miner startup when there's a timeout
- Date: Thu, 5 Oct 2017 12:52:42 +0000 (UTC)
commit 1c7027ba24e0da5b697327fb872631429283d511
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Oct 5 14:35:58 2017 +0200
tracker-miner-fs: Fix miner startup when there's a timeout
The idle func expects the TrackerMiner as user data, it no longer looks
for global stuff.
src/miners/fs/tracker-main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/miners/fs/tracker-main.c b/src/miners/fs/tracker-main.c
index eac5c38..d655ae2 100644
--- a/src/miners/fs/tracker-main.c
+++ b/src/miners/fs/tracker-main.c
@@ -289,8 +289,8 @@ miner_start (TrackerMiner *miner,
g_debug ("Performing initial sleep of %d seconds",
initial_sleep);
miners_timeout_id = g_timeout_add_seconds (initial_sleep,
- miner_start_idle_cb,
- NULL);
+ miner_start_idle_cb,
+ miner);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]