From 2afce859207036255c0eec8d848c4dab606e4308 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 16 Sep 2008 23:11:40 +0000 Subject: [PATCH] 2008-09-16 Jeffrey Stedfast * generator/ObjectGen.cs (Generate): Remove the extra generated space if the class isn't abstract. svn path=/trunk/gtk-sharp/; revision=113237 --- ChangeLog | 5 +++++ generator/ObjectGen.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed9c04fc3..74ccc6783 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-16 Jeffrey Stedfast + + * generator/ObjectGen.cs (Generate): Remove the extra generated + space if the class isn't abstract. + 2008-09-12 Zoltan Varga * glib/GType.cs (FindTypeInReferences): Put a try-catch around the assembly diff --git a/generator/ObjectGen.cs b/generator/ObjectGen.cs index 8ecb85a55..1a9f66cac 100644 --- a/generator/ObjectGen.cs +++ b/generator/ObjectGen.cs @@ -157,7 +157,7 @@ namespace GtkSharp.Generation { sw.WriteLine ("\t[Obsolete]"); foreach (string attr in custom_attrs) sw.WriteLine ("\t" + attr); - sw.Write ("\tpublic {0} class " + Name, IsAbstract ? "abstract" : ""); + sw.Write ("\tpublic {0}class " + Name, IsAbstract ? "abstract " : ""); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") { di.objects.Add (CName, QualifiedName);