[cogl/lionel/introspection-next: 16/42] display: add introspection support



commit af66ebcbb7ff0de4844f0d531a8f3e9ce62f2ee2
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]