2004-05-23 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : put back the ObjectGen hack for param wrapping. [Fixes #58876] svn path=/trunk/gtk-sharp/; revision=27940
This commit is contained in:
parent
e7130d9838
commit
ca91d3c85f
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-23 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
|
* generator/SignalHandler.cs : put back the ObjectGen hack
|
||||||
|
for param wrapping. [Fixes #58876]
|
||||||
|
|
||||||
2004-05-22 Mike Kestner <mkestner@ximian.com>
|
2004-05-22 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* configure.in : require mono-0.91.99. Sorry, but we need to
|
* configure.in : require mono-0.91.99. Sorry, but we need to
|
||||||
|
|
|
@ -146,6 +146,9 @@ namespace GtkSharp.Generation {
|
||||||
sw.WriteLine("\t\t\tif (arg{0} == IntPtr.Zero)", idx);
|
sw.WriteLine("\t\t\tif (arg{0} == IntPtr.Zero)", idx);
|
||||||
sw.WriteLine("\t\t\t\targs.Args[{0}] = null;", idx - 1);
|
sw.WriteLine("\t\t\t\targs.Args[{0}] = null;", idx - 1);
|
||||||
sw.WriteLine("\t\t\telse {");
|
sw.WriteLine("\t\t\telse {");
|
||||||
|
if ((wrapper != null) && wrapper is ObjectGen)
|
||||||
|
sw.WriteLine("\t\t\t\targs.Args[" + (idx-1) + "] = GLib.Object.GetObject(arg" + idx + ");");
|
||||||
|
else
|
||||||
sw.WriteLine("\t\t\t\targs.Args[" + (idx-1) + "] = " + table.FromNative (ctype, "arg" + idx) + ";");
|
sw.WriteLine("\t\t\t\targs.Args[" + (idx-1) + "] = " + table.FromNative (ctype, "arg" + idx) + ";");
|
||||||
sw.WriteLine("\t\t\t}");
|
sw.WriteLine("\t\t\t}");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue