summaryrefslogtreecommitdiff
path: root/cogl/cogl-buffer.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2012-03-14 13:45:00 +0000
committerNeil Roberts <neil@linux.intel.com>2012-03-14 13:48:11 +0000
commitf1d65e58b3a91fba6f4e674a502399853916e806 (patch)
tree745ef65704045831ea7995cf60490e064a7c2aae /cogl/cogl-buffer.c
parentd18b59d9e67f6ec2dd747da91d8c1380e1730d3e (diff)
downloadcogl-f1d65e58b3a91fba6f4e674a502399853916e806.tar.gz
buffer: Remove const from cogl_is_buffer (const void *)
None of the other cogl_is_blah functions have a const pointer so this is just for consistency. It helps if someone is trying to have an array of type-check function pointers to determine the Cogl object type because in that case all of the functions would have to have the same prototype. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-buffer.c')
-rw-r--r--cogl/cogl-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-buffer.c b/cogl/cogl-buffer.c
index 23cd15a5..f5a0fc54 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;