[cogl/lionel/introspection-next: 17/44] display: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 17/44] display: add introspection support
- Date: Sun, 9 Feb 2014 21:17:18 +0000 (UTC)
commit 868ce755a3100a03a02d977a968525f91dd55403
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 14:14:06 2013 +0100
display: add introspection support
cogl/cogl-display.c | 2 ++
cogl/cogl-display.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-display.c b/cogl/cogl-display.c
index cedd68b..7a64b25 100644
--- a/cogl/cogl-display.c
+++ b/cogl/cogl-display.c
@@ -39,10 +39,12 @@
#ifdef COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
#include "cogl-wayland-server.h"
#endif
+#include "cogl-gtype-private.h"
static void _cogl_display_free (CoglDisplay *display);
COGL_OBJECT_DEFINE (Display, display);
+COGL_GTYPE_DEFINE_CLASS (Display, display);
static const CoglWinsysVtable *
_cogl_display_get_winsys (CoglDisplay *display)
diff --git a/cogl/cogl-display.h b/cogl/cogl-display.h
index 0dfa2ab..6802636 100644
--- a/cogl/cogl-display.h
+++ b/cogl/cogl-display.h
@@ -66,6 +66,8 @@ typedef struct _CoglDisplay CoglDisplay;
#define COGL_DISPLAY(OBJECT) ((CoglDisplay *)OBJECT)
+COGL_GTYPE_DECLARE_TYPE (display);
+
/**
* cogl_display_new:
* @renderer: A #CoglRenderer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]