[tracker/miner-priority-queues-0.10] libtracker-miner: Fix typo in tracker_task_pool_foreach()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-priority-queues-0.10] libtracker-miner: Fix typo in tracker_task_pool_foreach()
- Date: Fri, 22 Jul 2011 11:08:04 +0000 (UTC)
commit 7d201eed3ed11e3f58a4a2fc51dad1ba620ebced
Author: Carlos Garnacho <carlos lanedo com>
Date: Fri Jul 22 13:03:30 2011 +0200
libtracker-miner: Fix typo in tracker_task_pool_foreach()
Tasks are the value of the hashtable, not the key.
src/libtracker-miner/tracker-task-pool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-task-pool.c b/src/libtracker-miner/tracker-task-pool.c
index 02a8b88..da4a627 100644
--- a/src/libtracker-miner/tracker-task-pool.c
+++ b/src/libtracker-miner/tracker-task-pool.c
@@ -265,7 +265,7 @@ tracker_task_pool_foreach (TrackerTaskPool *pool,
priv = pool->priv;
g_hash_table_iter_init (&iter, priv->tasks);
- while (g_hash_table_iter_next (&iter, (gpointer *) &task, NULL)) {
+ while (g_hash_table_iter_next (&iter, NULL, (gpointer *) &task)) {
(func) (task, user_data);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]