Commit 27450af4 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/gegl/gimpoperationtilesink.c formatting.

2007-12-29  Sven Neumann  <sven@gimp.org>

	* app/gegl/gimpoperationtilesink.c
	* app/gegl/gimpoperationtilesource.c: formatting.


svn path=/trunk/; revision=24471
parent 10d1bfe3
2007-12-29 Sven Neumann <sven@gimp.org>
* app/gegl/gimpoperationtilesink.c
* app/gegl/gimpoperationtilesource.c: formatting.
2007-12-29 Øyvind Kolås <pippin@gimp.org>
* app/gegl/gimpoperationtilesource.c: do not fetch the full extent
......
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpops.c
* gimpoperationtilesink.c
* Copyright (C) 2007 Øyvind Kolås <pippin@gimp.org>
*
* This program is free software; you can redistribute it and/or modify
......@@ -24,6 +24,7 @@
#include <string.h>
#include <glib-object.h>
#include "gegl/gegl-types.h"
#include <gegl/buffer/gegl-buffer.h>
......@@ -184,8 +185,7 @@ gimp_operation_tile_sink_process (GeglOperation *operation,
GeglRectangle rect = { destPR.x, destPR.y, destPR.w, destPR.h };
gegl_buffer_get (input,
1.0, &rect, format,
destPR.data, destPR.rowstride);
1.0, &rect, format, destPR.data, destPR.rowstride);
}
}
else
......
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpops.c
* gimpoperationtilesource.c
* Copyright (C) 2007 Øyvind Kolås <pippin@gimp.org>
*
* This program is free software; you can redistribute it and/or modify
......@@ -24,6 +24,7 @@
#include <string.h>
#include <glib-object.h>
#include "gegl/gegl-types.h"
#include <gegl/buffer/gegl-buffer.h>
......@@ -201,8 +202,7 @@ gimp_operation_tile_source_process (GeglOperation *operation,
{
GeglRectangle rect = { srcPR.x, srcPR.y, srcPR.w, srcPR.h };
gegl_buffer_set (output, &rect, format, srcPR.data,
srcPR.rowstride);
gegl_buffer_set (output, &rect, format, srcPR.data, srcPR.rowstride);
}
gegl_operation_set_data (operation, context_id,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment