[cogl/lionel/introspection-next: 35/44] onscreen-template: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 35/44] onscreen-template: add introspection support
- Date: Sun, 9 Feb 2014 21:18:49 +0000 (UTC)
commit 368a5049195069c3deb75154043dc066d39fd5fc
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Thu Sep 5 16:15:20 2013 +0100
onscreen-template: add introspection support
cogl/cogl-onscreen-template.c | 2 ++
cogl/cogl-onscreen-template.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-onscreen-template.c b/cogl/cogl-onscreen-template.c
index 5fa5b99..02f4678 100644
--- a/cogl/cogl-onscreen-template.c
+++ b/cogl/cogl-onscreen-template.c
@@ -32,12 +32,14 @@
#include "cogl-framebuffer-private.h"
#include "cogl-onscreen-template-private.h"
+#include "cogl-gtype-private.h"
#include <stdlib.h>
static void _cogl_onscreen_template_free (CoglOnscreenTemplate *onscreen_template);
COGL_OBJECT_DEFINE (OnscreenTemplate, onscreen_template);
+COGL_GTYPE_DEFINE_CLASS (OnscreenTemplate, onscreen_template);
static void
_cogl_onscreen_template_free (CoglOnscreenTemplate *onscreen_template)
diff --git a/cogl/cogl-onscreen-template.h b/cogl/cogl-onscreen-template.h
index c105469..7452308 100644
--- a/cogl/cogl-onscreen-template.h
+++ b/cogl/cogl-onscreen-template.h
@@ -39,6 +39,8 @@ typedef struct _CoglOnscreenTemplate CoglOnscreenTemplate;
#define COGL_ONSCREEN_TEMPLATE(OBJECT) ((CoglOnscreenTemplate *)OBJECT)
+COGL_GTYPE_DECLARE_TYPE (onscreen_template);
+
CoglOnscreenTemplate *
cogl_onscreen_template_new (CoglSwapChain *swap_chain);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]