diff --git a/ChangeLog b/ChangeLog index 3cb7101b2..b87704bd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-08-18 Aleksey Sanin + + * generator/SignalHandler.cs : take refs on GObject sig parms. + 2003-08-15 Duncan Mak * sources/Gtk.metadata (Gtk.TreeView.CellArea): Apply patch from diff --git a/generator/SignalHandler.cs b/generator/SignalHandler.cs index 746331ba7..2b301eac1 100644 --- a/generator/SignalHandler.cs +++ b/generator/SignalHandler.cs @@ -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)) {