[cogl/lionel/introspection-next: 31/42] offscreen: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 31/42] offscreen: add introspection support
- Date: Tue, 10 Dec 2013 21:52:53 +0000 (UTC)
commit 43e06e1d6cf8a8f7f2c72b4b4f11fb6b0f52d1f0
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 825e4b6..a4c2021 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]