[cogl/lionel/introspection-next: 36/44] path: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 36/44] path: add introspection support
- Date: Sun, 9 Feb 2014 21:18:54 +0000 (UTC)
commit 7e54dc21f3c7bdc04ee27816c4a57ef5cecfcce2
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Fri Sep 6 20:10:22 2013 +0100
path: add introspection support
cogl-path/cogl-path.c | 2 ++
cogl-path/cogl2-path-functions.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl-path/cogl-path.c b/cogl-path/cogl-path.c
index aeceda2..f974480 100644
--- a/cogl-path/cogl-path.c
+++ b/cogl-path/cogl-path.c
@@ -44,6 +44,7 @@
#include "cogl-path/cogl-path.h"
#include "cogl-path-private.h"
+#include "cogl-gtype-private.h"
#include <string.h>
#include <math.h>
@@ -57,6 +58,7 @@ static CoglPrimitive *_cogl_path_get_fill_primitive (CoglPath *path);
static void _cogl_path_build_stroke_attribute_buffer (CoglPath *path);
COGL_OBJECT_DEFINE (Path, path);
+COGL_GTYPE_DEFINE_CLASS (Path, path);
static void
_cogl_path_data_clear_vbos (CoglPathData *data)
diff --git a/cogl-path/cogl2-path-functions.h b/cogl-path/cogl2-path-functions.h
index dae0809..d264482 100644
--- a/cogl-path/cogl2-path-functions.h
+++ b/cogl-path/cogl2-path-functions.h
@@ -38,6 +38,8 @@
COGL_BEGIN_DECLS
+COGL_GTYPE_DECLARE_TYPE (path);
+
#define cogl_path_new cogl2_path_new
/**
* cogl_path_new:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]