summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-06 20:10:22 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2014-02-09 19:57:50 +0000
commit7e54dc21f3c7bdc04ee27816c4a57ef5cecfcce2 (patch)
tree7a7336226a9ea8d8da9f03ed9e07afc7d8f45a99
parent368a5049195069c3deb75154043dc066d39fd5fc (diff)
downloadcogl-7e54dc21f3c7bdc04ee27816c4a57ef5cecfcce2.tar.gz
path: add introspection support
-rw-r--r--cogl-path/cogl-path.c2
-rw-r--r--cogl-path/cogl2-path-functions.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/cogl-path/cogl-path.c b/cogl-path/cogl-path.c
index aeceda23..f9744803 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 dae0809b..d2644822 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: