GNOME Bugzilla – Bug 705461
handler id is not retrievable when connecting dynamic signals
Last modified: 2013-10-04 12:15:03 UTC
Created attachment 250818 [details] [review] Fix connect/disconnect-of dynamic signals The following snippet generates false c-code while the dynamic-connect-wrapper doesnt have a return value. class Foo : Object { } void callback () { } void main () { dynamic Foo foo = new Foo (); var id = foo.hidden.connect (callback); foo.disconnect (id); }
Review of attachment 250818 [details] [review]: Looks good, thanks.
Review of attachment 250818 [details] [review]: commit 5a09c0ab8eb99bfc9926b338cdfe399c6ff87924 Author: Rico Tzschichholz <ricotz@ubuntu.com> Date: Sun Aug 4 22:27:21 2013 +0200 codegen: Fix connect/disconnect of dynamic signals Make dynamic wrapper function return handler id for later disconnect. https://bugzilla.gnome.org/show_bug.cgi?id=705461