2004-03-16 Mike Kestner <mkestner@ximian.com>

* generator/Signal.cs : remove a C.WL.

svn path=/trunk/gtk-sharp/; revision=24161
This commit is contained in:
Mike Kestner 2004-03-16 20:10:05 +00:00
parent 1a1f5e1702
commit 7cf239155e
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : remove a C.WL.
2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : don't gen a Signals hash per class.

View File

@ -249,7 +249,6 @@ namespace GtkSharp.Generation {
sw.WriteLine("event " + EventHandlerQualifiedName + " " + Name + " {");
sw.WriteLine("\t\t\tadd {");
sw.WriteLine("\t\t\t\tif (value.Method.GetCustomAttributes(typeof(GLib.ConnectBeforeAttribute), false).Length > 0) {");
sw.WriteLine("\t\t\t\t\tConsole.WriteLine (\"Connecting before: " + Name + "\");");
sw.WriteLine("\t\t\t\t\tif (BeforeHandlers[" + cname + "] == null)");
sw.Write("\t\t\t\t\t\tBeforeSignals[" + cname + "] = new " + qual_marsh);
sw.Write("(this, Handle, " + cname + ", value, System.Type.GetType(\"" + EventArgsQualifiedName);