[cogl/lionel/introspection-next: 3/44] pipeline: add introspection support



commit 0ab2e6a23b927f54d6ab154ca174466cf720d491
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Sat Aug 24 15:43:46 2013 +0100

    pipeline: add introspection support

 cogl/cogl-pipeline.c |    2 ++
 cogl/cogl-pipeline.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-pipeline.c b/cogl/cogl-pipeline.c
index 350cbf3..0fb0ff7 100644
--- a/cogl/cogl-pipeline.c
+++ b/cogl/cogl-pipeline.c
@@ -45,6 +45,7 @@
 #include "cogl-profile.h"
 #include "cogl-depth-state-private.h"
 #include "cogl1-context.h"
+#include "cogl-gtype-private.h"
 
 #include <glib.h>
 #include <glib/gprintf.h>
@@ -89,6 +90,7 @@ _cogl_pipeline_progends[MAX (COGL_PIPELINE_N_PROGENDS, 1)];
 #endif
 
 COGL_OBJECT_DEFINE (Pipeline, pipeline);
+COGL_GTYPE_DEFINE_CLASS (Pipeline, pipeline);
 
 /*
  * This initializes the first pipeline owned by the Cogl context. All
diff --git a/cogl/cogl-pipeline.h b/cogl/cogl-pipeline.h
index 8e90d19..c4d28da 100644
--- a/cogl/cogl-pipeline.h
+++ b/cogl/cogl-pipeline.h
@@ -57,6 +57,8 @@ COGL_BEGIN_DECLS
 
 #define COGL_PIPELINE(OBJECT) ((CoglPipeline *)OBJECT)
 
+COGL_GTYPE_DECLARE_TYPE (pipeline);
+
 /**
  * cogl_pipeline_new:
  * @context: a #CoglContext


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