[cogl/lionel/introspection-next: 15/44] context: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 15/44] context: add introspection support
- Date: Sun, 9 Feb 2014 21:17:08 +0000 (UTC)
commit 03098adf6bf460a8f972bf415db21175f539b260
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 13:58:14 2013 +0100
context: add introspection support
cogl/cogl-context.c | 2 ++
cogl/cogl-context.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c
index 75cfdb3..8bf9c89 100644
--- a/cogl/cogl-context.c
+++ b/cogl/cogl-context.c
@@ -49,6 +49,7 @@
#include "cogl-gpu-info-private.h"
#include "cogl-config-private.h"
#include "cogl-error-private.h"
+#include "cogl-gtype-private.h"
#include "cogl/deprecated/cogl-framebuffer-deprecated.h"
@@ -71,6 +72,7 @@
static void _cogl_context_free (CoglContext *context);
COGL_OBJECT_DEFINE (Context, context);
+COGL_GTYPE_DEFINE_CLASS (Context, context);
extern void
_cogl_create_context_driver (CoglContext *context);
diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h
index c38b863..8d7bd49 100644
--- a/cogl/cogl-context.h
+++ b/cogl/cogl-context.h
@@ -91,6 +91,8 @@ COGL_BEGIN_DECLS
#define COGL_CONTEXT(OBJECT) ((CoglContext *)OBJECT)
+COGL_GTYPE_DECLARE_TYPE (context);
+
/**
* cogl_context_new: (constructor)
* @display: (allow-none): A #CoglDisplay pointer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]