2009-04-25 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs: support abstract opaque classes, though I have no idea why anyone would want one. [Fixes #494212] Revised patch from Sebastian Dröge. svn path=/trunk/gtk-sharp/; revision=132678
This commit is contained in:
parent
9d5b3e97be
commit
39739ae746
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-04-25 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* generator/OpaqueGen.cs: support abstract opaque classes,
|
||||||
|
though I have no idea why anyone would want one.
|
||||||
|
[Fixes #494212] Revised patch from Sebastian Dröge.
|
||||||
|
|
||||||
2009-04-25 Mike Kestner <mkestner@novell.com>
|
2009-04-25 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* parser/gapi-fixup.cs: add remove-attr and change-node-type
|
* parser/gapi-fixup.cs: add remove-attr and change-node-type
|
||||||
|
|
|
@ -63,7 +63,7 @@ namespace GtkSharp.Generation {
|
||||||
|
|
||||||
if (IsDeprecated)
|
if (IsDeprecated)
|
||||||
sw.WriteLine ("\t[Obsolete]");
|
sw.WriteLine ("\t[Obsolete]");
|
||||||
sw.Write ("\t{0} class " + Name, IsInternal ? "internal" : "public");
|
sw.Write ("\t{0}{1}class " + Name, IsInternal ? "internal " : "public ", IsAbstract ? "abstract " : String.Empty);
|
||||||
string cs_parent = table.GetCSType(Elem.GetAttribute("parent"));
|
string cs_parent = table.GetCSType(Elem.GetAttribute("parent"));
|
||||||
if (cs_parent != "")
|
if (cs_parent != "")
|
||||||
sw.Write (" : " + cs_parent);
|
sw.Write (" : " + cs_parent);
|
||||||
|
|
Loading…
Add table
Reference in a new issue