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 505674 - Misprint in the definition of the macro G_CCLOSURE_SWAP_DATA
Misprint in the definition of the macro G_CCLOSURE_SWAP_DATA
Product: glib
Classification: Platform
Component: gobject
Other All
: Normal normal
: ---
Assigned To: gtkdev
Depends on:
Reported: 2007-12-26 06:17 UTC by Areg Beketovski
Modified: 2007-12-26 19:27 UTC
See Also:
GNOME target: ---
GNOME version: ---

Proposed patch, fixing the problem (648 bytes, patch)
2007-12-26 06:19 UTC, Areg Beketovski
committed Details | Review

Description Areg Beketovski 2007-12-26 06:17:15 UTC
The macro "G_CCLOSURE_SWAP_DATA" is defined as:


#define G_CCLOSURE_SWAP_DATA(cclosure) \
(((GClosure*) (closure))->derivative_flag)


In the body of the macro "closure" identifier is used instead of the "cclosure" argument name.

The detailed bug description can be found at:
Comment 1 Areg Beketovski 2007-12-26 06:19:44 UTC
Created attachment 101610 [details] [review]
Proposed patch, fixing the problem
Comment 2 Matthias Clasen 2007-12-26 19:13:40 UTC
Looks right.
Comment 3 Behdad Esfahbod 2007-12-26 19:27:05 UTC
2007-12-26  Behdad Esfahbod  <>

        * gclosure.h (G_CCLOSURE_SWAP_DATA): Fix macro argument. 
        (#505674, Areg Beketovski)