[tracker/miner-web: 18/76] libtracker-miner: Don't reverse lists from hash tables



commit 8952a62abc12c82a4c7aea6c45167471726d70cf
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Feb 23 17:24:07 2010 +0000

    libtracker-miner: Don't reverse lists from hash tables

 src/libtracker-miner/tracker-storage.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-storage.c b/src/libtracker-miner/tracker-storage.c
index 58df351..d958de4 100644
--- a/src/libtracker-miner/tracker-storage.c
+++ b/src/libtracker-miner/tracker-storage.c
@@ -619,7 +619,7 @@ tracker_storage_get_removable_device_roots (TrackerStorage *storage)
 	                      get_mount_point_by_uuid_foreach,
 	                      &gr);
 
-	return g_slist_reverse (gr.roots);
+	return gr.roots;
 }
 
 /**
@@ -662,7 +662,7 @@ tracker_storage_get_removable_device_uuids (TrackerStorage *storage)
 		}
 	}
 
-	return g_slist_reverse (uuids);
+	return uuids;
 }
 
 /**



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