diff options
Diffstat (limited to 'cogl/cogl-framebuffer.h')
-rw-r--r-- | cogl/cogl-framebuffer.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/cogl/cogl-framebuffer.h b/cogl/cogl-framebuffer.h index c9f17ecf..495a9947 100644 --- a/cogl/cogl-framebuffer.h +++ b/cogl/cogl-framebuffer.h @@ -58,6 +58,10 @@ typedef struct _CoglFramebuffer CoglFramebuffer; #include <cogl/cogl-quaternion.h> #include <cogl/cogl-euler.h> +#ifdef COGL_HAS_GTYPE_SUPPORT +#include <glib-object.h> +#endif + COGL_BEGIN_DECLS /** @@ -98,6 +102,15 @@ COGL_BEGIN_DECLS * configuration. */ +#ifdef COGL_HAS_GTYPE_SUPPORT +/** + * cogl_framebuffer_get_gtype: + * + * Returns: a #GType that can be used with the GLib type system. + */ +GType cogl_framebuffer_get_gtype (void); +#endif + /** * cogl_framebuffer_allocate: * @framebuffer: A #CoglFramebuffer @@ -1551,4 +1564,3 @@ cogl_is_framebuffer (void *object); COGL_END_DECLS #endif /* __COGL_FRAMEBUFFER_H */ - |