[longomatch/redesign2: 73/140] Fix some warnings



commit 92f6313e08c43f3543aa53a3374f4702b9f9dd03
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Feb 6 02:20:35 2011 +0100

    Fix some warnings

 LongoMatch/Gui/Component/DrawingToolBox.cs        |    3 ---
 LongoMatch/Gui/Component/PlayersListTreeWidget.cs |    1 -
 LongoMatch/Gui/MainWindow.cs                      |    2 +-
 LongoMatch/Gui/TreeView/PlayersTreeView.cs        |    1 -
 4 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/DrawingToolBox.cs b/LongoMatch/Gui/Component/DrawingToolBox.cs
index 4649d84..461e09f 100644
--- a/LongoMatch/Gui/Component/DrawingToolBox.cs
+++ b/LongoMatch/Gui/Component/DrawingToolBox.cs
@@ -35,9 +35,6 @@ namespace LongoMatch.Gui.Component
 		public event ClearDrawingHandler ClearDrawing;
 		public event TransparencyChangedHandler TransparencyChanged;
 
-		Gdk.Color normalColor;
-		Gdk.Color activeColor;
-
 		public DrawingToolBox()
 		{
 			this.Build();
diff --git a/LongoMatch/Gui/Component/PlayersListTreeWidget.cs b/LongoMatch/Gui/Component/PlayersListTreeWidget.cs
index 2ed8707..a1b411c 100644
--- a/LongoMatch/Gui/Component/PlayersListTreeWidget.cs
+++ b/LongoMatch/Gui/Component/PlayersListTreeWidget.cs
@@ -94,7 +94,6 @@ namespace LongoMatch.Gui.Component
 		public void AddPlay(Play play, Player player) {
 			TreeIter iter;
 			TreeStore model;
-			bool found;
 				
 			if (template == null)
 				return;
diff --git a/LongoMatch/Gui/MainWindow.cs b/LongoMatch/Gui/MainWindow.cs
index 2f695f7..30ec3a1 100644
--- a/LongoMatch/Gui/MainWindow.cs
+++ b/LongoMatch/Gui/MainWindow.cs
@@ -309,7 +309,7 @@ namespace LongoMatch.Gui
 				try {
 					MainClass.DB.UpdateProject(openedProject);
 				} catch (Exception e){
-					/* FIXME: Do log error */
+					Log.Exception(e);
 				}
 			} else if (projectType == ProjectType.FakeCaptureProject)
 				ProjectUtils.SaveFakeLiveProject(openedProject, this);
diff --git a/LongoMatch/Gui/TreeView/PlayersTreeView.cs b/LongoMatch/Gui/TreeView/PlayersTreeView.cs
index 8e4c0d8..a5bbbd7 100644
--- a/LongoMatch/Gui/TreeView/PlayersTreeView.cs
+++ b/LongoMatch/Gui/TreeView/PlayersTreeView.cs
@@ -30,7 +30,6 @@ namespace LongoMatch.Gui.Component
 	public partial class PlayersTreeView : ListTreeViewBase
 	{
 
-		private Team team;
 		private Menu playersMenu;
 
 



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