2003-08-18 Aleksey Sanin <aleksey@aleksey.com>

* generator/SignalHandler.cs : take refs on GObject sig parms.

svn path=/trunk/gtk-sharp/; revision=17397
This commit is contained in:
Mike Kestner 2003-08-19 04:52:25 +00:00
parent 5b0557bdc1
commit fadf3bc4a9
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-08-18 Aleksey Sanin <aleksey@aleksey.com>
* generator/SignalHandler.cs : take refs on GObject sig parms.
2003-08-15 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata (Gtk.TreeView.CellArea): Apply patch from

View file

@ -140,7 +140,7 @@ namespace GtkSharp.Generation {
sw.WriteLine("\t\t\t\targs.Args[{0}] = null;", idx - 1);
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 + ", true);");
sw.WriteLine("\t\t\t\targs.Args[" + (idx-1) + "] = GLib.Object.GetObject(arg" + idx + ", false);");
else
sw.WriteLine("\t\t\t\targs.Args[" + (idx-1) + "] = " + table.FromNative (ctype, "arg" + idx) + ";");
if ((wrapper != null && (wrapper is OpaqueGen)) || table.IsManuallyWrapped (ctype)) {