summaryrefslogtreecommitdiff
path: root/cogl/cogl-display.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-display.h')
-rw-r--r--cogl/cogl-display.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-display.h b/cogl/cogl-display.h
index 58208dfe..70fde487 100644
--- a/cogl/cogl-display.h
+++ b/cogl/cogl-display.h
@@ -40,6 +40,10 @@
#include <cogl/cogl-renderer.h>
#include <cogl/cogl-onscreen-template.h>
+#ifdef COGL_HAS_GTYPE_SUPPORT
+#include <glib-object.h>
+#endif
+
COGL_BEGIN_DECLS
#ifdef COGL_HAS_EGL_PLATFORM_GDL_SUPPORT
@@ -72,6 +76,15 @@ typedef struct _CoglDisplay CoglDisplay;
#define COGL_DISPLAY(OBJECT) ((CoglDisplay *)OBJECT)
+#ifdef COGL_HAS_GTYPE_SUPPORT
+/**
+ * cogl_display_get_gtype:
+ *
+ * Returns: a #GType that can be used with the GLib type system.
+ */
+GType cogl_display_get_gtype (void);
+#endif
+
/**
* cogl_display_new:
* @renderer: A #CoglRenderer