[cogl/lionel/introspection: 35/76] display: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection: 35/76] display: add introspection support
- Date: Wed, 11 Sep 2013 15:22:43 +0000 (UTC)
commit 216621f18860f3307c61bc49c335333c1cc3a373
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 424e7e6..8155573 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]