[tracker/miner-flickr: 4/6] tracker-miner-flickr: Fix timeout handling



commit 9f4995c50615faed05e8351b50cb8018753e5f40
Author: Adrien Bustany <abustany gnome org>
Date:   Fri Mar 12 12:37:53 2010 -0300

    tracker-miner-flickr: Fix timeout handling

 src/tracker-miner-flickr/tracker-miner-flickr.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-miner-flickr/tracker-miner-flickr.vala b/src/tracker-miner-flickr/tracker-miner-flickr.vala
index 8eeecab..491aa1a 100644
--- a/src/tracker-miner-flickr/tracker-miner-flickr.vala
+++ b/src/tracker-miner-flickr/tracker-miner-flickr.vala
@@ -101,7 +101,7 @@ public class MinerFlickr : Tracker.MinerWeb {
 					return;
 
 				message ("Miner is now associated. Initiating periodic pull.");
-				Timeout.add_seconds (PULL_INTERVAL, pull_timeout_cb);
+				pull_timeout_handle = Timeout.add_seconds (PULL_INTERVAL, pull_timeout_cb);
 				Idle.add ( () => { pull_timeout_cb (); return false; });
 				break;
 			case MinerWebAssociationStatus.UNASSOCIATED:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]