[cogl/lionel/introspection-next: 34/42] onscreen-template: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 34/42] onscreen-template: add introspection support
- Date: Tue, 10 Dec 2013 21:53:08 +0000 (UTC)
commit e25e89ce9717711b2fa86612012fa1bee95bf728
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]