Fix macro argument. (#505674, Areg Beketovski)

2007-12-26  Behdad Esfahbod  <behdad@gnome.org>

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


svn path=/trunk/; revision=6204
This commit is contained in:
Behdad Esfahbod 2007-12-26 19:23:21 +00:00 committed by Behdad Esfahbod
parent 255c62b695
commit 4ec183a164
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-12-26 Behdad Esfahbod <behdad@gnome.org>
* gclosure.h (G_CCLOSURE_SWAP_DATA): Fix macro argument.
(#505674, Areg Beketovski)
2007-12-20 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.0 ===

View File

@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL)
#define G_CLOSURE_N_NOTIFIERS(cl) ((cl)->meta_marshal + ((cl)->n_guards << 1L) + \
(cl)->n_fnotifiers + (cl)->n_inotifiers)
#define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (closure))->derivative_flag)
#define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (cclosure))->derivative_flag)
#define G_CALLBACK(f) ((GCallback) (f))