[cogl/lionel/introspection-next: 16/44] renderer: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 16/44] renderer: add introspection support
- Date: Sun, 9 Feb 2014 21:17:13 +0000 (UTC)
commit 5b1c94831464343e48a4a0b44e2f0900fa5d5985
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 14:07:02 2013 +0100
renderer: add introspection support
cogl/cogl-renderer.c | 2 ++
cogl/cogl-renderer.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c
index d2042fc..caa8f4f 100644
--- a/cogl/cogl-renderer.c
+++ b/cogl/cogl-renderer.c
@@ -44,6 +44,7 @@
#include "cogl-winsys-stub-private.h"
#include "cogl-config-private.h"
#include "cogl-error-private.h"
+#include "cogl-gtype-private.h"
#ifdef COGL_HAS_EGL_PLATFORM_XLIB_SUPPORT
#include "cogl-winsys-egl-x11-private.h"
@@ -222,6 +223,7 @@ static CoglWinsysVtableGetter _cogl_winsys_vtable_getters[] =
static void _cogl_renderer_free (CoglRenderer *renderer);
COGL_OBJECT_DEFINE (Renderer, renderer);
+COGL_GTYPE_DEFINE_CLASS (Renderer, renderer);
typedef struct _CoglNativeFilterClosure
{
diff --git a/cogl/cogl-renderer.h b/cogl/cogl-renderer.h
index 19c1195..be3d1a8 100644
--- a/cogl/cogl-renderer.h
+++ b/cogl/cogl-renderer.h
@@ -80,6 +80,8 @@ cogl_renderer_error_quark (void);
typedef struct _CoglRenderer CoglRenderer;
+COGL_GTYPE_DECLARE_TYPE (renderer);
+
/**
* cogl_is_renderer:
* @object: A #CoglObject pointer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]