[cogl/lionel/introspection-next: 15/42] renderer: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 15/42] renderer: add introspection support
- Date: Tue, 10 Dec 2013 21:51:32 +0000 (UTC)
commit 2fa04884e0f4965dd1fd2c000c92c327d99f7883
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]