[cogl/lionel/introspection: 67/76] offscreen: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection: 67/76] offscreen: add introspection support
- Date: Wed, 11 Sep 2013 15:25:24 +0000 (UTC)
commit 347bfc72b89d04fa75bad60e3b7e6d4ba259c6de
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 3d3f7c9..46e506f 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -68,6 +68,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]