[cogl/lionel/introspection-next: 19/44] attribute: add introspection support



commit f0848bee99586e020de4df9d8ad4f9697570557c
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 14:35:21 2013 +0100

    attribute: add introspection support

 cogl/cogl-attribute.c |    2 ++
 cogl/cogl-attribute.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-attribute.c b/cogl/cogl-attribute.c
index 1bd6b42..ea7da6d 100644
--- a/cogl/cogl-attribute.c
+++ b/cogl/cogl-attribute.c
@@ -45,6 +45,7 @@
 #include "cogl-pipeline-progend-glsl-private.h"
 #endif
 #include "cogl-private.h"
+#include "cogl-gtype-private.h"
 
 #include <string.h>
 #include <stdio.h>
@@ -58,6 +59,7 @@
 static void _cogl_attribute_free (CoglAttribute *attribute);
 
 COGL_OBJECT_DEFINE (Attribute, attribute);
+COGL_GTYPE_DEFINE_CLASS (Attribute, attribute);
 
 static CoglBool
 validate_cogl_attribute_name (const char *name,
diff --git a/cogl/cogl-attribute.h b/cogl/cogl-attribute.h
index 019e6c9..c033a93 100644
--- a/cogl/cogl-attribute.h
+++ b/cogl/cogl-attribute.h
@@ -49,6 +49,8 @@ COGL_BEGIN_DECLS
  * FIXME
  */
 
+COGL_GTYPE_DECLARE_TYPE (attribute);
+
 /**
  * cogl_attribute_new: (constructor)
  * @attribute_buffer: The #CoglAttributeBuffer containing the actual


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]