diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-09-03 13:43:57 +0100 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2014-02-09 19:57:49 +0000 |
commit | d747fb1724ae025c534865623a20291dd4d4a6bc (patch) | |
tree | ac95b542f2a753051a0efa702fda116ae8a60a73 | |
parent | 5404742eff8d8def75b9d84bae5cfca69cbbd547 (diff) | |
download | cogl-d747fb1724ae025c534865623a20291dd4d4a6bc.tar.gz |
bitmap: add introspection support
-rw-r--r-- | cogl/cogl-bitmap.c | 2 | ||||
-rw-r--r-- | 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 9b51a300..ad72b64d 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 a175a3a3..2a0de9e9 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 |