[cogl/lionel/introspection-next: 10/42] bitmap: add introspection support



commit f0d2f8982551db6db84c5a852ebdafcee0071064
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 13:43:57 2013 +0100

    bitmap: add introspection support

 cogl/cogl-bitmap.c |    2 ++
 cogl/cogl-bitmap.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-bitmap.c b/cogl/cogl-bitmap.c
index 9b51a30..ad72b64 100644
--- a/cogl/cogl-bitmap.c
+++ b/cogl/cogl-bitmap.c
@@ -34,12 +34,14 @@
 #include "cogl-context-private.h"
 #include "cogl-buffer-gl-private.h"
 #include "cogl-error-private.h"
+#include "cogl-gtype-private.h"
 
 #include <string.h>
 
 static void _cogl_bitmap_free (CoglBitmap *bmp);
 
 COGL_OBJECT_DEFINE (Bitmap, bitmap);
+COGL_GTYPE_DEFINE_CLASS (Bitmap, bitmap);
 
 static void
 _cogl_bitmap_free (CoglBitmap *bmp)
diff --git a/cogl/cogl-bitmap.h b/cogl/cogl-bitmap.h
index a175a3a..2a0de9e 100644
--- a/cogl/cogl-bitmap.h
+++ b/cogl/cogl-bitmap.h
@@ -43,6 +43,8 @@ typedef struct _CoglBitmap CoglBitmap;
 
 COGL_BEGIN_DECLS
 
+COGL_GTYPE_DECLARE_TYPE (bitmap);
+
 /**
  * SECTION:cogl-bitmap
  * @short_description: Functions for loading images


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