[gegl] buffer: fix type of destroy_fn for linear buffers
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] buffer: fix type of destroy_fn for linear buffers
- Date: Sat, 17 Mar 2012 22:08:59 +0000 (UTC)
commit 63a52be283569b0e5df11c640752db22af6b132b
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sat Mar 17 22:08:50 2012 +0000
buffer: fix type of destroy_fn for linear buffers
gegl/buffer/gegl-buffer-linear.c | 2 +-
gegl/buffer/gegl-buffer.h | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-linear.c b/gegl/buffer/gegl-buffer-linear.c
index 2263b73..447ea8a 100644
--- a/gegl/buffer/gegl-buffer-linear.c
+++ b/gegl/buffer/gegl-buffer-linear.c
@@ -66,7 +66,7 @@ gegl_buffer_linear_new_from_data (const gpointer data,
const Babl *format,
const GeglRectangle *extent,
gint rowstride,
- GCallback destroy_fn,
+ GDestroyNotify destroy_fn,
gpointer destroy_fn_data)
{
GeglBuffer *buffer;
diff --git a/gegl/buffer/gegl-buffer.h b/gegl/buffer/gegl-buffer.h
index cea1417..c9c949c 100644
--- a/gegl/buffer/gegl-buffer.h
+++ b/gegl/buffer/gegl-buffer.h
@@ -464,11 +464,11 @@ GeglBuffer * gegl_buffer_linear_new (const GeglRectangle *extent,
* Returns: a GeglBuffer that can be used as any other GeglBuffer.
*/
GeglBuffer * gegl_buffer_linear_new_from_data (const gpointer data,
- const Babl *format,
- const GeglRectangle *extent,
- gint rowstride,
- GCallback destroy_fn,
- gpointer destroy_fn_data);
+ const Babl *format,
+ const GeglRectangle *extent,
+ gint rowstride,
+ GDestroyNotify destroy_fn,
+ gpointer destroy_fn_data);
/**
* gegl_buffer_linear_open:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]