[tracker/rss-enclosures] libtracker-miner: Fix weird alignment



commit 44717fdf1f45077bce009c167d674fea55e6ce4e
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Oct 21 12:31:42 2010 +0200

    libtracker-miner: Fix weird alignment

 src/libtracker-miner/tracker-miner-fs.c |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 5e84319..da42f92 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1608,6 +1608,7 @@ item_add_or_update (TrackerMinerFS *fs,
 	GFile *parent;
 	const gchar *urn;
 	const gchar *parent_urn = NULL;
+	UpdateProcessingTaskContext *ctxt;
 
 	priv = fs->private;
 	retval = TRUE;
@@ -1656,12 +1657,13 @@ item_add_or_update (TrackerMinerFS *fs,
 	/* Create task and add it to the pool as a WAIT task (we need to extract
 	 * the file metadata and such) */
 	task = tracker_processing_task_new (file);
+	ctxt = update_processing_task_context_new (TRACKER_MINER (fs),
+	                                           urn,
+	                                           parent_urn,
+	                                           cancellable,
+	                                           sparql);
 	tracker_processing_task_set_context (task,
-	                                     update_processing_task_context_new (TRACKER_MINER (fs),
-		   urn,
-		   parent_urn,
-		   cancellable,
-		   sparql),
+	                                     ctxt,
 	                                     (GFreeFunc) update_processing_task_context_free);
 	tracker_processing_pool_push_wait_task (priv->processing_pool, task);
 



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