2008-09-16 Jeffrey Stedfast <fejj@novell.com>

* generator/ObjectGen.cs (Generate): Remove the extra generated
	space if the class isn't abstract.


svn path=/trunk/gtk-sharp/; revision=113237
This commit is contained in:
Jeffrey Stedfast 2008-09-16 23:11:40 +00:00
parent 56e4f16beb
commit 2afce85920
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-09-16 Jeffrey Stedfast <fejj@novell.com>
* generator/ObjectGen.cs (Generate): Remove the extra generated
space if the class isn't abstract.
2008-09-12 Zoltan Varga <vargaz@gmail.com>
* glib/GType.cs (FindTypeInReferences): Put a try-catch around the assembly

View File

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