summaryrefslogtreecommitdiff
path: root/cogl/cogl-attribute.c
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-02 16:02:42 +0100
committerNeil Roberts <neil@linux.intel.com>2014-03-20 18:27:12 +0000
commit1b2dd815b4a81048f445890b91d12237a8a06a8b (patch)
tree2d8e74039cf945ed4b628863e47532dc75e1b13a /cogl/cogl-attribute.c
parentbb10532f4b11cba169ace6d9e26543fe6f70ad8f (diff)
downloadcogl-1b2dd815b4a81048f445890b91d12237a8a06a8b.tar.gz
Registers gtypes for all public objects and structs
This adds much more comprehensive support for gobject-introspection based bindings by registering all objects as fundamental types that inherit from CoglObject, and all structs as boxed types. Co-Author: Robert Bragg <robert@linux.intel.com> Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl-attribute.c')
-rw-r--r--cogl/cogl-attribute.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cogl/cogl-attribute.c b/cogl/cogl-attribute.c
index 6264f091..bcfbf78c 100644
--- a/cogl/cogl-attribute.c
+++ b/cogl/cogl-attribute.c
@@ -51,6 +51,7 @@
#include "cogl-pipeline-progend-glsl-private.h"
#endif
#include "cogl-private.h"
+#include "cogl-gtype-private.h"
#include <string.h>
#include <stdio.h>
@@ -64,6 +65,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,