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 645979 - Can't pass more than one callback to a function
Can't pass more than one callback to a function
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-28 17:11 UTC by Guillaume Desmottes
Modified: 2012-03-01 18:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2011-03-28 17:11:35 UTC
I tried to write a a function take 2 callbacks (+ user_data + GDestroyNotify) as arguments and failed. I've been told that's because gjs doesn't support function having more than one callback; it should.
Comment 1 Giovanni Campagna 2012-03-01 18:15:57 UTC
I believe this was fixed in the general invocation rework before 3.2, so I'd say closed.