From 0b355e03351b89e09026fc45c6de3292b9a3b3ae Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Sun, 21 Oct 2012 12:40:56 +0200 Subject: [PATCH] generator: Fix abstract class generation Signed-off-by: Bertrand Lorentz --- generator/ObjectGen.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/ObjectGen.cs b/generator/ObjectGen.cs index e7ef13d57..f841d5328 100644 --- a/generator/ObjectGen.cs +++ b/generator/ObjectGen.cs @@ -150,7 +150,7 @@ namespace GtkSharp.Generation { sw.WriteLine ("\t[Obsolete]"); foreach (string attr in custom_attrs) sw.WriteLine ("\t" + attr); - sw.Write ("\t{0} partial {1}class " + Name, IsInternal ? "internal" : "public", IsAbstract ? "abstract " : ""); + sw.Write ("\t{0} {1}partial class " + Name, IsInternal ? "internal" : "public", IsAbstract ? "abstract " : ""); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") { di.objects.Add (CName, QualifiedName);