pathpoint: Add G_GNUC_EXTENSION to struct definition
This allows compilation with gcc -pedantic. GTKmm uses this as part of their recommended compiler flags. Fixes #6083
This commit is contained in:
@@ -31,7 +31,9 @@ G_BEGIN_DECLS
|
||||
#define GSK_TYPE_PATH_POINT (gsk_path_point_get_type ())
|
||||
|
||||
typedef struct _GskPathPoint GskPathPoint;
|
||||
struct _GskPathPoint {
|
||||
|
||||
G_GNUC_EXTENSION struct _GskPathPoint
|
||||
{
|
||||
/*< private >*/
|
||||
union {
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user