[tracker/miner-gdata] tracker-miner-gdata: Fix timeout handling.



commit 2fe8b100eb15a08022c96cb101a7b8f2ed51ad2e
Author: Adrien Bustany <abustany gnome org>
Date:   Fri Mar 12 13:40:53 2010 -0300

    tracker-miner-gdata: Fix timeout handling.

 .../tracker-miner-picasaweb.vala                   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-miner-gdata/tracker-miner-picasaweb.vala b/src/tracker-miner-gdata/tracker-miner-picasaweb.vala
index 14c6913..cf8cf9f 100644
--- a/src/tracker-miner-gdata/tracker-miner-picasaweb.vala
+++ b/src/tracker-miner-gdata/tracker-miner-picasaweb.vala
@@ -53,7 +53,7 @@ public class MinerPicasaweb : 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]