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);