summaryrefslogtreecommitdiff
path: root/cogl/cogl-offscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-offscreen.h')
-rw-r--r--cogl/cogl-offscreen.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-offscreen.h b/cogl/cogl-offscreen.h
index b971b1f6..ae653dc9 100644
--- a/cogl/cogl-offscreen.h
+++ b/cogl/cogl-offscreen.h
@@ -38,6 +38,10 @@
#include <cogl/cogl-types.h>
#include <cogl/cogl-texture.h>
+#ifdef COGL_HAS_GTYPE_SUPPORT
+#include <glib-object.h>
+#endif
+
COGL_BEGIN_DECLS
/**
@@ -52,6 +56,15 @@ typedef struct _CoglOffscreen CoglOffscreen;
#define COGL_OFFSCREEN(X) ((CoglOffscreen *)X)
+#ifdef COGL_HAS_GTYPE_SUPPORT
+/**
+ * cogl_offscreen_get_gtype:
+ *
+ * Returns: a #GType that can be used with the GLib type system.
+ */
+GType cogl_offscreen_get_gtype (void);
+#endif
+
/* Offscreen api */
/**