Remove trailin enum commas, avoiding C++ warnings.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2314
This commit is contained in:
Murray Cumming 2010-09-13 16:16:25 +02:00 committed by Emmanuele Bassi
parent 209bef6f8a
commit 28f28c0309
5 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@ typedef struct _ClutterAlignConstraint ClutterAlignConstraint;
*/
typedef enum { /*< prefix=CLUTTER_ALIGN >*/
CLUTTER_ALIGN_X_AXIS,
CLUTTER_ALIGN_Y_AXIS,
CLUTTER_ALIGN_Y_AXIS
} ClutterAlignAxis;
GType clutter_align_constraint_get_type (void) G_GNUC_CONST;

View File

@ -116,7 +116,7 @@ typedef enum {
*/
typedef enum {
CLUTTER_EVENT_NONE = 0,
CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0,
CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0
} ClutterEventFlags;
/**
@ -139,7 +139,7 @@ typedef enum {
*
* Since: 0.4
*/
typedef enum
typedef enum
{
CLUTTER_NOTHING = 0,
CLUTTER_KEY_PRESS,

View File

@ -397,7 +397,7 @@ typedef enum {
typedef enum
{
CLUTTER_FONT_MIPMAPPING = (1 << 0),
CLUTTER_FONT_HINTING = (1 << 1),
CLUTTER_FONT_HINTING = (1 << 1)
} ClutterFontFlags;
/**

View File

@ -213,7 +213,7 @@ typedef enum { /*< prefix=COGL_PIXEL_FORMAT >*/
COGL_PIXEL_FORMAT_ARGB_8888_PRE = (COGL_PIXEL_FORMAT_32 | COGL_A_BIT | COGL_PREMULT_BIT | COGL_AFIRST_BIT),
COGL_PIXEL_FORMAT_ABGR_8888_PRE = (COGL_PIXEL_FORMAT_32 | COGL_A_BIT | COGL_PREMULT_BIT | COGL_BGR_BIT | COGL_AFIRST_BIT),
COGL_PIXEL_FORMAT_RGBA_4444_PRE = (COGL_PIXEL_FORMAT_RGBA_4444 | COGL_A_BIT | COGL_PREMULT_BIT),
COGL_PIXEL_FORMAT_RGBA_5551_PRE = (COGL_PIXEL_FORMAT_RGBA_5551 | COGL_A_BIT | COGL_PREMULT_BIT),
COGL_PIXEL_FORMAT_RGBA_5551_PRE = (COGL_PIXEL_FORMAT_RGBA_5551 | COGL_A_BIT | COGL_PREMULT_BIT)
} CoglPixelFormat;
/**

View File

@ -317,7 +317,7 @@ cogl_vertex_buffer_draw (CoglHandle handle,
typedef enum {
COGL_INDICES_TYPE_UNSIGNED_BYTE,
COGL_INDICES_TYPE_UNSIGNED_SHORT,
COGL_INDICES_TYPE_UNSIGNED_INT,
COGL_INDICES_TYPE_UNSIGNED_INT
} CoglIndicesType;
/**