diff options
Diffstat (limited to 'cogl/cogl-matrix.h')
-rw-r--r-- | cogl/cogl-matrix.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cogl/cogl-matrix.h b/cogl/cogl-matrix.h index 57d31352..6329853a 100644 --- a/cogl/cogl-matrix.h +++ b/cogl/cogl-matrix.h @@ -114,6 +114,11 @@ struct _CoglMatrix }; COGL_STRUCT_SIZE_ASSERT (CoglMatrix, sizeof (float) * 16 + 4); + +#ifdef _COGL_SUPPORTS_GTYPE_INTEGRATION +#define COGL_GTYPE_TYPE_MATRIX (cogl_matrix_get_gtype ()) +#endif /* _COGL_SUPPORTS_GTYPE_INTEGRATION */ + /** * cogl_matrix_init_identity: * @matrix: A 4x4 transformation matrix @@ -741,21 +746,18 @@ cogl_debug_matrix_print (const CoglMatrix *matrix); #ifdef COGL_HAS_GTYPE_SUPPORT -#define COGL_GTYPE_TYPE_MATRIX (cogl_gtype_matrix_get_type ()) - /** - * cogl_gtype_matrix_get_type: + * cogl_matrix_get_gtype: * * Returns: the GType for the registered "CoglMatrix" boxed type. This * can be used for example to define GObject properties that accept a * #CoglMatrix value. */ GType -cogl_gtype_matrix_get_type (void); +cogl_matrix_get_gtype (void); #endif /* COGL_HAS_GTYPE_SUPPORT */ COGL_END_DECLS #endif /* __COGL_MATRIX_H */ - |