generator: Fix abstract class generation
Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
This commit is contained in:
parent
496992cb25
commit
0b355e0335
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue