[tracker/wip/miner-internal-config] libtracker-miner: fix node appending



commit 7cc723618bf9a2c9334cd1f56b6b1bb7d67014f2
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Wed Aug 3 16:33:47 2011 +0200

    libtracker-miner: fix node appending

 src/libtracker-miner/tracker-indexing-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-indexing-tree.c b/src/libtracker-miner/tracker-indexing-tree.c
index 791a76c..63cc6bc 100644
--- a/src/libtracker-miner/tracker-indexing-tree.c
+++ b/src/libtracker-miner/tracker-indexing-tree.c
@@ -271,7 +271,7 @@ tracker_indexing_tree_add (TrackerIndexingTree   *tree,
 	                         check_reparent_node, node);
 
 	/* Add the new node underneath the parent */
-	g_node_append_data (parent, directory);
+	g_node_append (parent, node);
 }
 
 /**



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