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 628999 - Adjust to change in the indexing of destroy/closure parameters
Adjust to change in the indexing of destroy/closure parameters
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2010-09-07 21:51 UTC by Owen Taylor
Modified: 2010-09-07 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adjust to change in the indexing of destroy/closure parameters (1.11 KB, patch)
2010-09-07 21:51 UTC, Owen Taylor
none Details | Review

Description Owen Taylor 2010-09-07 21:51:49 UTC
gobject-introspection has been changed so that g_arg_info_get_closure()
and g_arg_info_get_destroy() now count from the first parameter for
both functions and methods; the indexes never include 'self'.
Comment 1 Owen Taylor 2010-09-07 21:51:51 UTC
Created attachment 169712 [details] [review]
Adjust to change in the indexing of destroy/closure parameters
Comment 2 Colin Walters 2010-09-07 21:53:34 UTC
Looks great, sorry about not communicating this change more clearly.