summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-03 16:14:46 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2014-02-09 19:57:50 +0000
commit28bda781bb2d9d5d248abed79d5539d363e5a0e1 (patch)
treeac9b9d1761f7a18dd34a8e4059649bd15b91af89
parent52195f035d992ad37fb58d7e0efe573fd71fb8ab (diff)
downloadcogl-28bda781bb2d9d5d248abed79d5539d363e5a0e1.tar.gz
output: add introspection support
-rw-r--r--cogl/cogl-output.c2
-rw-r--r--cogl/cogl-output.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/cogl/cogl-output.c b/cogl/cogl-output.c
index 1f5e78fc..793148d7 100644
--- a/cogl/cogl-output.c
+++ b/cogl/cogl-output.c
@@ -26,12 +26,14 @@
#endif
#include "cogl-output-private.h"
+#include "cogl-gtype-private.h"
#include <string.h>
static void _cogl_output_free (CoglOutput *output);
COGL_OBJECT_DEFINE (Output, output);
+COGL_GTYPE_DEFINE_CLASS (Output, output);
CoglOutput *
_cogl_output_new (const char *name)
diff --git a/cogl/cogl-output.h b/cogl/cogl-output.h
index c0cc7cce..3ef3308d 100644
--- a/cogl/cogl-output.h
+++ b/cogl/cogl-output.h
@@ -60,6 +60,8 @@ COGL_BEGIN_DECLS
typedef struct _CoglOutput CoglOutput;
#define COGL_OUTPUT(X) ((CoglOutput *)(X))
+COGL_GTYPE_DECLARE_TYPE (output);
+
/**
* CoglSubpixelOrder:
* @COGL_SUBPIXEL_ORDER_UNKNOWN: the layout of subpixel