[cogl/lionel/introspection-next: 28/44] output: add introspection support



commit 28bda781bb2d9d5d248abed79d5539d363e5a0e1
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 16:14:46 2013 +0100

    output: add introspection support

 cogl/cogl-output.c |    2 ++
 cogl/cogl-output.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-output.c b/cogl/cogl-output.c
index 1f5e78f..793148d 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 c0cc7cc..3ef3308 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


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