diff --git a/cogl/cogl-buffer.c b/cogl/cogl-buffer.c index 23cd15a58..f5a0fc54e 100644 --- a/cogl/cogl-buffer.c +++ b/cogl/cogl-buffer.c @@ -85,7 +85,7 @@ _cogl_buffer_register_buffer_type (const CoglObjectClass *klass) } gboolean -cogl_is_buffer (const void *object) +cogl_is_buffer (void *object) { const CoglHandleObject *obj = object; GSList *l; diff --git a/cogl/cogl-buffer.h b/cogl/cogl-buffer.h index c1fceca46..ffd896855 100644 --- a/cogl/cogl-buffer.h +++ b/cogl/cogl-buffer.h @@ -75,7 +75,7 @@ typedef struct _CoglBuffer CoglBuffer; * Stability: unstable */ gboolean -cogl_is_buffer (const void *object); +cogl_is_buffer (void *object); /** * cogl_buffer_get_size: