After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787521 - Support connecting delegates to signals
Support connecting delegates to signals
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
: 603865 604781 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-09-10 18:32 UTC by Rico Tzschichholz
Modified: 2018-02-19 09:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Allow to pass compatible delegates to signal.connect() (9.12 KB, patch)
2017-09-10 18:32 UTC, Rico Tzschichholz
committed Details | Review
vala: Include sender-type parameter to prototype-string of signal-delegates (1.14 KB, patch)
2017-09-10 18:33 UTC, Rico Tzschichholz
committed Details | Review

Description Rico Tzschichholz 2017-09-10 18:32:36 UTC
Currently only lambda-experession and methods are allowed to be passed to
signal.connect/disconnect(...)
Comment 1 Rico Tzschichholz 2017-09-10 18:32:40 UTC
Created attachment 359476 [details] [review]
Allow to pass compatible delegates to signal.connect()
Comment 2 Rico Tzschichholz 2017-09-10 18:33:11 UTC
Created attachment 359477 [details] [review]
vala: Include sender-type parameter to prototype-string of signal-delegates
Comment 3 Rico Tzschichholz 2017-11-19 14:04:02 UTC
Attachment 359476 [details] pushed as d4d6cc2 - Allow to pass compatible delegates to signal.connect()
Attachment 359477 [details] pushed as 801d630 - vala: Include sender-type parameter to prototype-string of signal-delegates
Comment 4 Rico Tzschichholz 2018-02-13 22:10:45 UTC
*** Bug 604781 has been marked as a duplicate of this bug. ***
Comment 5 Rico Tzschichholz 2018-02-19 09:47:06 UTC
*** Bug 603865 has been marked as a duplicate of this bug. ***