Fixed error in handling formal parameters of signals, fixes bug 542293.
authorJared Moore <jaredm@svn.gnome.org>
Thu, 17 Jul 2008 02:29:44 +0000 (02:29 +0000)
committerJared William Moore <jaredm@src.gnome.org>
Thu, 17 Jul 2008 02:29:44 +0000 (02:29 +0000)
2008-07-17  Jared Moore  <jaredm@svn.gnome.org>

* vala/valasignal.vala:

Fixed error in handling formal parameters of signals, fixes bug
542293.

svn path=/trunk/; revision=1702

ChangeLog
vala/valasignal.vala

index 8fcd15d..b72055d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-07-17  Jared Moore  <jaredm@svn.gnome.org>
+
+       * vala/valasignal.vala:
+
+       Fixed error in handling formal parameters of signals, fixes bug
+       542293.
+
 2008-07-17  Jürg Billeter  <j@bitron.ch>
 
        * gobject/valaccodetypesymbolbinding.vala:
index 9a44d4b..27a3731 100644 (file)
@@ -108,7 +108,7 @@ public class Vala.Signal : Member, Lockable {
                generated_delegate.add_parameter (sender_param);
 
                foreach (FormalParameter param in parameters) {
-                       generated_delegate.add_parameter (param);
+                       generated_delegate.add_parameter (param.copy ());
                }
 
                scope.add (null, generated_delegate);