[tracker/miner-twitter] tracker-miner-twitter: Fix timeout handling



commit 8851396c2e0587f7d94a94a52b7fa2554f5037c7
Author: Adrien Bustany <abustany gnome org>
Date:   Fri Mar 12 13:40:09 2010 -0300

    tracker-miner-twitter: Fix timeout handling

 .../tracker-miner-twitter.vala                     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-miner-twitter/tracker-miner-twitter.vala b/src/tracker-miner-twitter/tracker-miner-twitter.vala
index 45945b6..b919af8 100644
--- a/src/tracker-miner-twitter/tracker-miner-twitter.vala
+++ b/src/tracker-miner-twitter/tracker-miner-twitter.vala
@@ -212,7 +212,7 @@ public class MinerTwitter : 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]