[tracker/wip/miner-fs-refactor: 8/51] libtracker-miner: fix node appending



commit da965d40363f9a47a353bcf7009b20e7f088ff2a
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]