[cogl/lionel/introspection: 32/76] renderer: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection: 32/76] renderer: add introspection support
- Date: Wed, 11 Sep 2013 15:22:28 +0000 (UTC)
commit 72e223e3bd196b053d897f6ede63672c77de9c8f
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 61cda6f..8e37062 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"
@@ -216,6 +217,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 d913cb2..0412ece 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]