[cogl/lionel/introspection-next: 32/44] offscreen: add introspection support



commit d6866bfd6cd1619be89aa55c2f62142e59474222
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Thu Sep 5 16:01:38 2013 +0100

    offscreen: add introspection support

 cogl/cogl-framebuffer.c |    1 +
 cogl/cogl-offscreen.h   |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c
index 681a8f2..c9490cf 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -62,6 +62,7 @@ static void _cogl_offscreen_free (CoglOffscreen *offscreen);
 COGL_OBJECT_DEFINE_WITH_CODE (Offscreen, offscreen,
                               _cogl_offscreen_class.virt_unref =
                               _cogl_framebuffer_unref);
+COGL_GTYPE_DEFINE_CLASS (Offscreen, offscreen);
 COGL_OBJECT_DEFINE_DEPRECATED_REF_COUNTING (offscreen);
 COGL_GTYPE_DEFINE_INTERFACE (Framebuffer, framebuffer);
 
diff --git a/cogl/cogl-offscreen.h b/cogl/cogl-offscreen.h
index fcb9924..e18b221 100644
--- a/cogl/cogl-offscreen.h
+++ b/cogl/cogl-offscreen.h
@@ -45,6 +45,8 @@ typedef struct _CoglOffscreen CoglOffscreen;
 
 #define COGL_OFFSCREEN(X) ((CoglOffscreen *)X)
 
+COGL_GTYPE_DECLARE_TYPE (offscreen);
+
 /* Offscreen api */
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]