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 632853 - Add syntactic sugar for GClosures
Add syntactic sugar for GClosures
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Delegates
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Vala maintainers
Vala maintainers
: 659619 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-10-22 04:09 UTC by Evan Nemerson
Modified: 2018-05-22 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evan Nemerson 2010-10-22 04:09:11 UTC
An easy to use syntax for dealing with GClosures would be very useful. There are currently a couple of places where delegates can't be used; arrays and generic arguments come to mind. The syntax currently used in the vapis ([CCode (name = "GClosure*")] owned DelegateType func) is ugly and, AFAIK, only works for function arguments.

Something like GLib.Closure<DelegateType> (suggested in IRC on 2010-10-18 by Jürg) would probably make sense.
Comment 1 Luca Bruno 2014-06-29 08:55:18 UTC
*** Bug 659619 has been marked as a duplicate of this bug. ***
Comment 2 GNOME Infrastructure Team 2018-05-22 13:46:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/139.