2005-03-28 Mike Kestner <mkestner@novell.com>

* generator/Signal.cs  : Dispose the values passed to 
	g_signal_chain_from_overriden in base VM invocations. [Fixes #73522]

svn path=/trunk/gtk-sharp/; revision=42312
This commit is contained in:
Mike Kestner 2005-03-28 18:26:00 +00:00
parent 282924fdf1
commit b35b48248c
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-03-28 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : Dispose the values passed to
g_signal_chain_from_overriden in base VM invocations. [Fixes #73522]
2005-03-25 Mike Kestner <mkestner@novell.com>
* */makefile.win32 : add gapi-cdecl-insert to assembly target.

View File

@ -3,7 +3,7 @@
// Author: Mike Kestner <mkestner@speakeasy.net>
//
// Copyright (c) 2001-2003 Mike Kestner
// Copyright (c) 2003-2004 Novell, Inc.
// Copyright (c) 2003-2005 Novell, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the GNU General Public
@ -313,6 +313,8 @@ namespace GtkSharp.Generation {
sw.WriteLine ("\t\t\tg_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);");
if (cleanup != "")
sw.WriteLine (cleanup);
sw.WriteLine ("\t\t\tforeach (GLib.Value v in vals)");
sw.WriteLine ("\t\t\t\tv.Dispose ();");
if (!IsVoid)
sw.WriteLine ("\t\t\treturn (" + retval.CSType + ") ret;");
sw.WriteLine ("\t\t}\n");