[tracker] libtracker-direct: Getting rid of some dead code



commit e9c38be021de464e18d0c549bd5f8721a862df88
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Oct 12 17:18:08 2010 +0200

    libtracker-direct: Getting rid of some dead code

 src/libtracker-direct/tracker-direct.vala |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/libtracker-direct/tracker-direct.vala b/src/libtracker-direct/tracker-direct.vala
index 7bc2515..4efcf97 100644
--- a/src/libtracker-direct/tracker-direct.vala
+++ b/src/libtracker-direct/tracker-direct.vala
@@ -24,13 +24,6 @@ public class Tracker.Direct.Connection : Tracker.Sparql.Connection {
 	public Connection () throws Sparql.Error
 	requires (!initialized) {
 		uint select_cache_size = 100;
-
-		try {
-			var connection = DBus.Bus.get (DBus.BusType.SESSION);
-		} catch (DBus.Error e) {
-			throw new Sparql.Error.INTERNAL ("Unable to initialize database");
-		}
-
 		string env_cache_size = Environment.get_variable ("TRACKER_SPARQL_CACHE_SIZE");
 
 		if (env_cache_size != null) {



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