[f-spot] Make FSpot.Utils.dll warning-free. Switch on -warnaserror.



commit 3c942dfcec79d1234b68b35ffc75e7731b8e0aeb
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sun Jun 28 19:54:31 2009 +0200

    Make FSpot.Utils.dll warning-free. Switch on -warnaserror.

 src/Makefile.am  |    2 +-
 src/Utils/Log.cs |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 97bf342..4c55407 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -463,7 +463,7 @@ FSpot.Query.dll: $(QUERY_CSFILES) FSpot.Utils.dll FSpot.Core.dll
 
 FSpot.Utils.dll: $(UTILS_CSFILES)
 	@echo -e "\n*** Compiling $@"
-	$(CSC_LIB) -out:$@ $(EXTRAFLAGS) $(UTILS_CSFILES) $(UTILS_ASSEMBLIES)
+	$(CSC_LIB) -out:$@ $(EXTRAFLAGS) $(WARNASERROR) $(UTILS_CSFILES) $(UTILS_ASSEMBLIES)
 
 FSpot.JobScheduler.dll: $(JOBSCHEDULER_CSFILES) FSpot.Utils.dll
 	@echo -e "\n*** Compiling $@"
diff --git a/src/Utils/Log.cs b/src/Utils/Log.cs
index 3a03860..6236eba 100644
--- a/src/Utils/Log.cs
+++ b/src/Utils/Log.cs
@@ -264,9 +264,9 @@ namespace FSpot.Utils
             }
             
             if (isInfo) {
-                InformationFormat (message, d_message);
+                Information (message, d_message);
             } else {
-                DebugFormat (message, d_message);
+                Debug (message, d_message);
             }
         }
         



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