[tracker/miner-fs-refactor-multi-insert: 13/14] libtracker-miner: fix task status enumeration so that first item is -1



commit a0590b3acb8764ecf178b7d851f893c4ff9f14e8
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Oct 21 11:04:29 2010 +0200

    libtracker-miner: fix task status enumeration so that first item is -1

 .../tracker-miner-fs-processing-pool.c             |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs-processing-pool.c b/src/libtracker-miner/tracker-miner-fs-processing-pool.c
index 0214dfd..e856087 100644
--- a/src/libtracker-miner/tracker-miner-fs-processing-pool.c
+++ b/src/libtracker-miner/tracker-miner-fs-processing-pool.c
@@ -121,7 +121,7 @@
 #define MAX_SPARQL_BUFFER_TIME  15
 
 typedef enum {
-	TRACKER_PROCESSING_TASK_STATUS_NO_POOL,
+	TRACKER_PROCESSING_TASK_STATUS_NO_POOL = -1,
 	TRACKER_PROCESSING_TASK_STATUS_WAIT = 0,
 	TRACKER_PROCESSING_TASK_STATUS_READY,
 	TRACKER_PROCESSING_TASK_STATUS_PROCESSING,



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