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



commit b08d5b47e814d677837e6469f8ee6359e369eedf
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]