[pdfmod] Fix build on Mono 2.8



commit 368f6fb598dbd22f03319df0d6ba380865ab146f
Author: Robson Roberto Souza Peixoto <robsonpeixoto gmail com>
Date:   Wed Oct 20 12:07:19 2010 -0500

    Fix build on Mono 2.8
    
    Signed-off-by: Gabriel Burt <gabriel burt gmail com>

 src/PdfMod/Gui/Client.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/PdfMod/Gui/Client.cs b/src/PdfMod/Gui/Client.cs
index 19e0af6..d7a408b 100644
--- a/src/PdfMod/Gui/Client.cs
+++ b/src/PdfMod/Gui/Client.cs
@@ -415,7 +415,7 @@ namespace PdfMod.Gui
         static void OnLogNotify (LogNotifyArgs args)
         {
             ThreadAssist.ProxyToMain (delegate {
-                Gtk.MessageType mtype;
+                Gtk.MessageType mtype = Gtk.MessageType.Error;
                 var entry = args.Entry;
 
                 switch (entry.Type) {



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