[gegl] ops: more fixups in ops with external deps
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ops: more fixups in ops with external deps
- Date: Sun, 25 Mar 2012 12:54:00 +0000 (UTC)
commit 3e1a636ac39f15271367877f66df1cf423c5c28f
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sun Mar 25 13:53:53 2012 +0100
ops: more fixups in ops with external deps
operations/external/jp2-load.c | 4 ++--
operations/external/openraw.c | 6 ++----
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/operations/external/jp2-load.c b/operations/external/jp2-load.c
index 6494d4d..db7d0d3 100644
--- a/operations/external/jp2-load.c
+++ b/operations/external/jp2-load.c
@@ -298,12 +298,12 @@ process (GeglOperation *operation,
switch (depth)
{
case 16:
- gegl_buffer_set (output, &rect, babl_format ("R'G'B' u16"),
+ gegl_buffer_set (output, &rect, 0, babl_format ("R'G'B' u16"),
data_s, GEGL_AUTO_ROWSTRIDE);
break;
case 8:
- gegl_buffer_set (output, &rect, babl_format ("R'G'B' u8"),
+ gegl_buffer_set (output, &rect, 0, babl_format ("R'G'B' u8"),
data_b, GEGL_AUTO_ROWSTRIDE);
break;
diff --git a/operations/external/openraw.c b/operations/external/openraw.c
index 277fc7b..cb0d50c 100644
--- a/operations/external/openraw.c
+++ b/operations/external/openraw.c
@@ -51,7 +51,7 @@ GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_SOURCE)
* and release the libopenraw structure instead.
*/
static void
-destroy_rawdata (void * pixels, void * rawdata)
+destroy_rawdata (void * rawdata)
{
or_rawdata_release (rawdata);
}
@@ -137,7 +137,7 @@ load_buffer (GeglOperation *operation)
babl_format ("Y u16"),
&extent,
GEGL_AUTO_ROWSTRIDE,
- G_CALLBACK (destroy_rawdata),
+ destroy_rawdata,
rawdata);
}
@@ -225,11 +225,9 @@ gegl_chant_class_init (GeglChantClass *klass)
GObjectClass *object_class;
GeglOperationClass *operation_class;
- GeglOperationSourceClass *source_class;
object_class = G_OBJECT_CLASS (klass);
operation_class = GEGL_OPERATION_CLASS (klass);
- source_class = GEGL_OPERATION_SOURCE_CLASS (klass);
object_class->finalize = finalize;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]