diff options
Diffstat (limited to 'cogl/cogl-onscreen.h')
-rw-r--r-- | cogl/cogl-onscreen.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-onscreen.h b/cogl/cogl-onscreen.h index 5f616e7b..5bea3181 100644 --- a/cogl/cogl-onscreen.h +++ b/cogl/cogl-onscreen.h @@ -37,11 +37,24 @@ #include <cogl/cogl-frame-info.h> #include <cogl/cogl-object.h> +#ifdef COGL_HAS_GTYPE_SUPPORT +#include <glib-object.h> +#endif + COGL_BEGIN_DECLS typedef struct _CoglOnscreen CoglOnscreen; #define COGL_ONSCREEN(X) ((CoglOnscreen *)(X)) +#ifdef COGL_HAS_GTYPE_SUPPORT +/** + * cogl_onscreen_get_gtype: + * + * Returns: a #GType that can be used with the GLib type system. + */ +GType cogl_onscreen_get_gtype (void); +#endif + /** * cogl_onscreen_new: (constructor) * @context: A #CoglContext |