[cogl/lionel/introspection-next: 27/44] frame-info: add introspection support



commit 52195f035d992ad37fb58d7e0efe573fd71fb8ab
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 16:14:12 2013 +0100

    frame-info: add introspection support

 cogl/cogl-frame-info.c |    2 ++
 cogl/cogl-frame-info.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-frame-info.c b/cogl/cogl-frame-info.c
index a64e728..d514392 100644
--- a/cogl/cogl-frame-info.c
+++ b/cogl/cogl-frame-info.c
@@ -26,10 +26,12 @@
 #endif
 
 #include "cogl-frame-info-private.h"
+#include "cogl-gtype-private.h"
 
 static void _cogl_frame_info_free (CoglFrameInfo *info);
 
 COGL_OBJECT_DEFINE (FrameInfo, frame_info);
+COGL_GTYPE_DEFINE_CLASS (FrameInfo, frame_info);
 
 CoglFrameInfo *
 _cogl_frame_info_new (void)
diff --git a/cogl/cogl-frame-info.h b/cogl/cogl-frame-info.h
index 8d9c39b..c1ddaa2 100644
--- a/cogl/cogl-frame-info.h
+++ b/cogl/cogl-frame-info.h
@@ -40,6 +40,8 @@ G_BEGIN_DECLS
 typedef struct _CoglFrameInfo CoglFrameInfo;
 #define COGL_FRAME_INFO(X) ((CoglFrameInfo *)(X))
 
+COGL_GTYPE_DECLARE_TYPE (frame_info);
+
 /**
  * cogl_is_frame_info:
  * @object: A #CoglObject pointer


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