[cogl/lionel/introspection: 20/76] bitmap: add introspection support



commit 1e8560c5fbcfce38e7ee7a6eecaf6d1578061f47
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 3efe612..0113080 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]