diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-04-18 15:10:17 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-04-18 16:51:20 +0100 |
commit | 1b2805803f3804d1eb0ffa1854f49a657aecef21 (patch) | |
tree | 60d9ca367f720ee9acfa955c780031e27d8f1dc7 /cogl/cogl-matrix.c | |
parent | 713a8f8160bc5884b091c69eb7a84b069e0950e6 (diff) | |
download | cogl-1b2805803f3804d1eb0ffa1854f49a657aecef21.tar.gz |
namespace symbols output by glib-mkenums
This puts all the _get_type() symbols output by glib-mkenums into a
cogl_gtype_ namespace and also ensures the symbols aren't generated if
Cogl is built with --disable-glib.
This is consistent with the cogl_gtype_matrix_get_type() symbol we
expose.
By namespacing the GType integration api that also means we can choose
to use api like cogl_texture_get_type() for queries more directly
related to the core Cogl api, such as querying whether a texture is a
CoglTexture2D vs Texture3D or SubTexture etc.
Diffstat (limited to 'cogl/cogl-matrix.c')
-rw-r--r-- | cogl/cogl-matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-matrix.c b/cogl/cogl-matrix.c index d22293e7..b1574ebe 100644 --- a/cogl/cogl-matrix.c +++ b/cogl/cogl-matrix.c @@ -77,7 +77,7 @@ #include <math.h> #include <string.h> -#ifdef _COGL_SUPPORTS_GTYPE_INTEGRATION +#ifdef COGL_HAS_GTYPE_SUPPORT #include <cogl-gtype-private.h> COGL_GTYPE_DEFINE_BOXED ("Matrix", matrix, cogl_matrix_copy, |