[tasque/transition: 181/213] [RTM] Drop compare method. This is done in base class



commit 4836da1628c736007d134c1202d6563edd3f83fc
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sun Aug 19 00:39:15 2012 +0200

    [RTM] Drop compare method. This is done in base class

 src/Addins/RtmBackend/RtmBackend.cs |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/Addins/RtmBackend/RtmBackend.cs b/src/Addins/RtmBackend/RtmBackend.cs
index e52e66f..bb2d1c9 100644
--- a/src/Addins/RtmBackend/RtmBackend.cs
+++ b/src/Addins/RtmBackend/RtmBackend.cs
@@ -514,23 +514,6 @@ namespace Tasque.Backends.RtmBackend
 #endregion // Public Methods
 
 #region Private Methods
-		static int CompareCategorySortFunc (Gtk.TreeModel model,
-											Gtk.TreeIter a,
-											Gtk.TreeIter b)
-		{
-			Category categoryA = model.GetValue (a, 0) as Category;
-			Category categoryB = model.GetValue (b, 0) as Category;
-			
-			if (categoryA == null || categoryB == null)
-				return 0;
-			
-			if (categoryA is Tasque.AllCategory)
-				return -1;
-			else if (categoryB is Tasque.AllCategory)
-				return 1;
-			
-			return (categoryA.Name.CompareTo (categoryB.Name));
-		}
 
 		/// <summary>
 		/// Update the model to match what is in RTM



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