[cogl/lionel/introspection-next: 37/45] path: add introspection support



commit cc5b0d3c182e25cb863dd78d024be8af5f94a37a
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 5a97531..2ada526 100644
--- a/cogl-path/cogl-path.c
+++ b/cogl-path/cogl-path.c
@@ -46,6 +46,7 @@
 
 #include "cogl-path/cogl-path.h"
 #include "cogl-path-private.h"
+#include "cogl-gtype-private.h"
 
 #include <string.h>
 #include <math.h>
@@ -59,6 +60,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 e2b01c8..1505e7b 100644
--- a/cogl-path/cogl2-path-functions.h
+++ b/cogl-path/cogl2-path-functions.h
@@ -34,6 +34,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]