[cogl/lionel/introspection-next: 31/44] swap-chain: add introspection support



commit 74714b45cbd37fcb8ab54e80c115e1fe2d0ae176
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 16:29:06 2013 +0100

    swap-chain: add introspection support

 cogl/cogl-swap-chain.c |    3 +++
 cogl/cogl-swap-chain.h |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-swap-chain.c b/cogl/cogl-swap-chain.c
index 7a5b342..61981eb 100644
--- a/cogl/cogl-swap-chain.c
+++ b/cogl/cogl-swap-chain.c
@@ -32,10 +32,13 @@
 
 #include "cogl-swap-chain-private.h"
 #include "cogl-swap-chain.h"
+#include "cogl-gtype-private.h"
 
 static void _cogl_swap_chain_free (CoglSwapChain *swap_chain);
 
 COGL_OBJECT_DEFINE (SwapChain, swap_chain);
+COGL_GTYPE_DEFINE_CLASS (SwapChain, swap_chain);
+
 
 static void
 _cogl_swap_chain_free (CoglSwapChain *swap_chain)
diff --git a/cogl/cogl-swap-chain.h b/cogl/cogl-swap-chain.h
index 05596a8..1308ae4 100644
--- a/cogl/cogl-swap-chain.h
+++ b/cogl/cogl-swap-chain.h
@@ -28,10 +28,14 @@
 #ifndef __COGL_SWAP_CHAIN_H__
 #define __COGL_SWAP_CHAIN_H__
 
+#include <cogl/cogl-types.h>
+
 COGL_BEGIN_DECLS
 
 typedef struct _CoglSwapChain CoglSwapChain;
 
+COGL_GTYPE_DECLARE_TYPE (swap_chain);
+
 CoglSwapChain *
 cogl_swap_chain_new (void);
 


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