mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:55:27 +00:00
2003-07-22 Mike Kestner <mkestner@speakeasy.net>
* generator/Method.cs (GenerateBody): kill the "cast_type" overload of this, since cast_type wasn't even used. * generator/Property.cs : call simpler GenerateBody sig svn path=/trunk/gtk-sharp/; revision=16550
This commit is contained in:
parent
05172d9599
commit
31001501ed
|
@ -1,3 +1,9 @@
|
|||
2003-07-22 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* generator/Method.cs (GenerateBody): kill the "cast_type"
|
||||
overload of this, since cast_type wasn't even used.
|
||||
* generator/Property.cs : call simpler GenerateBody sig
|
||||
|
||||
2003-07-22 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* gtk/FileSelection.custom (FSButton): Mark the constructor as
|
||||
|
|
|
@ -377,11 +377,6 @@ namespace GtkSharp.Generation {
|
|||
}
|
||||
|
||||
public void GenerateBody (StreamWriter sw, string indent)
|
||||
{
|
||||
GenerateBody(sw, indent, "");
|
||||
}
|
||||
|
||||
public void GenerateBody (StreamWriter sw, string indent, string cast_type)
|
||||
{
|
||||
sw.WriteLine(" {");
|
||||
if (parms != null)
|
||||
|
|
|
@ -115,7 +115,7 @@ namespace GtkSharp.Generation {
|
|||
sw.WriteLine("\t\tpublic " + modifiers + cs_type + " " + name + " {");
|
||||
if (has_getter) {
|
||||
sw.Write("\t\t\tget ");
|
||||
getter.GenerateBody(sw, "\t", c_type);
|
||||
getter.GenerateBody(sw, "\t");
|
||||
sw.WriteLine();
|
||||
} else if (elem.HasAttribute("readable")) {
|
||||
sw.WriteLine("\t\t\tget {");
|
||||
|
@ -141,7 +141,7 @@ namespace GtkSharp.Generation {
|
|||
|
||||
if (has_setter) {
|
||||
sw.Write("\t\t\tset ");
|
||||
setter.GenerateBody(sw, "\t", c_type);
|
||||
setter.GenerateBody(sw, "\t");
|
||||
sw.WriteLine();
|
||||
} else if (elem.HasAttribute("writeable") && !elem.HasAttribute("construct-only")) {
|
||||
sw.WriteLine("\t\t\tset {");
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace GtkSharp.Generation {
|
|||
|
||||
public class SignalHandler {
|
||||
|
||||
public static String GetName(XmlElement sig, string ns, bool generate)
|
||||
public static string GetName(XmlElement sig, string ns, bool generate)
|
||||
{
|
||||
XmlElement ret_elem = sig["return-type"];
|
||||
if (ret_elem == null) {
|
||||
|
|
Loading…
Reference in a new issue