Author: mkestner
Date: 2005-03-28 13:26:00 -0500 (Mon, 28 Mar 2005)
New Revision: 42312

Modified:
   trunk/gtk-sharp/ChangeLog
   trunk/gtk-sharp/generator/Signal.cs
Log:

2005-03-28  Mike Kestner  <[EMAIL PROTECTED]>

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


Modified: trunk/gtk-sharp/ChangeLog
===================================================================
--- trunk/gtk-sharp/ChangeLog   2005-03-28 18:01:16 UTC (rev 42311)
+++ trunk/gtk-sharp/ChangeLog   2005-03-28 18:26:00 UTC (rev 42312)
@@ -1,3 +1,8 @@
+2005-03-28  Mike Kestner  <[EMAIL PROTECTED]>
+
+       * generator/Signal.cs  : Dispose the values passed to 
+       g_signal_chain_from_overriden in base VM invocations. [Fixes #73522]
+
 2005-03-25  Mike Kestner  <[EMAIL PROTECTED]>
 
        * */makefile.win32 : add gapi-cdecl-insert to assembly target.

Modified: trunk/gtk-sharp/generator/Signal.cs
===================================================================
--- trunk/gtk-sharp/generator/Signal.cs 2005-03-28 18:01:16 UTC (rev 42311)
+++ trunk/gtk-sharp/generator/Signal.cs 2005-03-28 18:26:00 UTC (rev 42312)
@@ -3,7 +3,7 @@
 // Author: Mike Kestner <[EMAIL PROTECTED]>
 //
 // 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 @@
                        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");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to