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
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gobject
2.15.x
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2007-12-26 06:17 UTC by Areg Beketovski
Modified: 2007-12-26 19:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
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: 

http://linuxtesting.org/results/report?num=D0070
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  <behdad@gnome.org>

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