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



commit 00fc0c3f25a92e278f2c11df17016306537b65cd
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]