Details

[Home]

Issue of the Implementation # D0070

Brief

Misprint in the definition of the macro G_CCLOSURE_SWAP_DATA

Detailed Description

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.

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.1, Chapter 12. Libraries, 12.5.1 glib-2.0/glib-object.h, G-CCLOSURE-SWAP-DATA

Possible solutions

The macro definition text:

#define G_CCLOSURE_SWAP_DATA(cclosure) \
(((GClosure*) (closure))->derivative_flag)
in the header file "gobject/gclosure.h" should be changed to:
#define G_CCLOSURE_SWAP_DATA(cclosure) \
(((GClosure*) (cclosure))->derivative_flag)

Component

gtk-gobject 2.6.2 or later

Accepted

Gnome Bugzilla 505674

Status

Fixed in gtk-gobject - 2.15.1

[Home]