generator: fixed NativeStructGen's formatting

This commit is contained in:
Stephan Sundermann 2013-08-29 16:16:42 +02:00 committed by Andrés G. Aragoneses
parent c5b04cb70e
commit f6fef3a402

View file

@ -132,10 +132,11 @@ namespace GtkSharp.Generation
sw.WriteLine ("\t\t{");
sw.WriteLine ("\t\t\tthis.Handle = raw;");
sw.WriteLine ("\t\t}");
sw.WriteLine ();
}
else
sw.Write ("public {0} (IntPtr raw) : base (raw) {{}}", Name);
sw.Write ("\t\tpublic {0} (IntPtr raw) : base (raw) {{}}", Name);
sw.WriteLine ();
base.GenCtors (gen_info);
}