From b122c1b11dd0e5a57b9a7343832d2c1df7fde552 Mon Sep 17 00:00:00 2001
From: Mike Kestner <mkestner@gmail.com>
Date: Thu, 30 Jul 2009 18:33:15 +0000
Subject: [PATCH] 2009-07-30  Mike Kestner  <mkestner@novell.com>

	* generator/InterfaceGen.cs: remove var keyword usage to fix build on
	.Net 2.0.  fix a couple mixed line endings as well.

svn path=/trunk/gtk-sharp/; revision=139109
---
 ChangeLog                 | 5 +++++
 generator/InterfaceGen.cs | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 23af72b45..07e992523 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-30  Mike Kestner  <mkestner@novell.com>
+
+	* generator/InterfaceGen.cs: remove var keyword usage to fix build on
+	.Net 2.0.  fix a couple mixed line endings as well.
+
 2009-07-27  Mike Gorse  <mgorse@novell.com>
 
 	* atk/Atk.metadata: Remove owned for Relation.GetTarget.
diff --git a/generator/InterfaceGen.cs b/generator/InterfaceGen.cs
index c97adb24c..c29fa1651 100644
--- a/generator/InterfaceGen.cs
+++ b/generator/InterfaceGen.cs
@@ -262,7 +262,7 @@ namespace GtkSharp.Generation {
 
 		void GenerateImplementorIface (GenerationInfo gen_info)
 		{
-			var sw = gen_info.Writer;
+			StreamWriter sw = gen_info.Writer;
 			if (IsConsumeOnly)
 				return;
 
@@ -298,9 +298,9 @@ namespace GtkSharp.Generation {
 					vm_table.Remove (vm.Name);
 				}
 			}
-
+
 			AppendCustom (sw, gen_info.CustomDir, Name + "Implementor");
-
+
 			sw.WriteLine ("\t}");
 		}