summaryrefslogtreecommitdiff
path: root/cogl/cogl-attribute.c
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-02 16:02:42 +0100
committerRobert Bragg <robert@linux.intel.com>2014-02-20 18:01:31 +0000
commit6a0f47f8c323f5ff77c85cbaa8a751f9461b80af (patch)
treeb2d43c223cb9ce3d2922c09960ea712de83f5d29 /cogl/cogl-attribute.c
parent33597a60bf2452701dd03586f8c07a8ce276ab52 (diff)
downloadcogl-6a0f47f8c323f5ff77c85cbaa8a751f9461b80af.tar.gz
Registers gtypes for all public objects and structswip/rib/introspection
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>
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 b6c24334..694ca36e 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,