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



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

    tracker-miner-flickr: Fix timeout handling

 src/miners/flickr/tracker-miner-flickr.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/flickr/tracker-miner-flickr.vala b/src/miners/flickr/tracker-miner-flickr.vala
index 8eeecab..491aa1a 100644
--- a/src/miners/flickr/tracker-miner-flickr.vala
+++ b/src/miners/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]