[tasque/transition: 171/213] [SQLite] Fix ctor of backend.



commit 477b0a7610ca4f25120ba6bef40029ccf043928f
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sat Aug 18 22:30:05 2012 +0200

    [SQLite] Fix ctor of backend.

 src/Addins/SqliteBackend/SqliteBackend.cs |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/Addins/SqliteBackend/SqliteBackend.cs b/src/Addins/SqliteBackend/SqliteBackend.cs
index 5d69a36..1b579c9 100644
--- a/src/Addins/SqliteBackend/SqliteBackend.cs
+++ b/src/Addins/SqliteBackend/SqliteBackend.cs
@@ -23,24 +23,6 @@ namespace Tasque.Backends.Sqlite
 		public SqliteBackend () : base (Catalog.GetString ("Local File"))
 		{
 			Configured = true;
-			taskIters = new Dictionary<int, Gtk.TreeIter> (); 
-			taskStore = new Gtk.TreeStore (typeof(Task));
-			
-			sortedTasksModel = new Gtk.TreeModelSort (taskStore);
-			sortedTasksModel.SetSortFunc (
-				0,
-				new Gtk.TreeIterCompareFunc (CompareTasksSortFunc)
-			);
-			sortedTasksModel.SetSortColumnId (0, Gtk.SortType.Ascending);
-			
-			categoryListStore = new Gtk.ListStore (typeof(Category));
-			
-			sortedCategoriesModel = new Gtk.TreeModelSort (categoryListStore);
-			sortedCategoriesModel.SetSortFunc (
-				0,
-				new Gtk.TreeIterCompareFunc (CompareCategorySortFunc)
-			);
-			sortedCategoriesModel.SetSortColumnId (0, Gtk.SortType.Ascending);
 		}
 		
 		#region Public Properties



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