[gegl/soc-2012-ops: 45/58] noise-pick: cleaning before merge
- From: Michael Murà <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/soc-2012-ops: 45/58] noise-pick: cleaning before merge
- Date: Wed, 29 Aug 2012 11:08:17 +0000 (UTC)
commit c8d1deb32ffa3c6ea9b78b997803627c47d75ce2
Author: Michael Murà <batolettre gmail com>
Date: Tue Aug 28 17:15:35 2012 +0900
noise-pick: cleaning before merge
operations/common/noise-pick.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/operations/common/noise-pick.c b/operations/common/noise-pick.c
index 624dc7a..1fd8b52 100644
--- a/operations/common/noise-pick.c
+++ b/operations/common/noise-pick.c
@@ -44,7 +44,8 @@ gegl_chant_int (repeat, _("Repeat"), 1, 100, 1, _("Repeat"))
#include <math.h>
#include <stdlib.h>
-static void prepare (GeglOperation *operation)
+static void
+prepare (GeglOperation *operation)
{
GeglOperationAreaFilter *op_area;
op_area = GEGL_OPERATION_AREA_FILTER (operation);
@@ -76,7 +77,6 @@ process (GeglOperation *operation,
gfloat *out_pixel, *in_pixel;
gint n_pixels = result->width * result->height;
gint width = result->width;
- gint height = result->height;
GeglRectangle src_rect;
GRand *gr;
gint k, b, i;
@@ -165,7 +165,7 @@ process (GeglOperation *operation,
}
- gegl_buffer_copy(tmp, NULL, output, NULL);
+ gegl_buffer_copy(tmp, NULL, output, NULL);
g_slice_free1 (4 * total_pixels * sizeof (gfloat), src_buf);
g_slice_free1 (4 * n_pixels * sizeof (gfloat), dst_buf);
@@ -176,12 +176,9 @@ process (GeglOperation *operation,
static void
gegl_chant_class_init (GeglChantClass *klass)
{
- GObjectClass *object_class;
GeglOperationClass *operation_class;
GeglOperationFilterClass *filter_class;
-
- object_class = G_OBJECT_CLASS (klass);
operation_class = GEGL_OPERATION_CLASS (klass);
filter_class = GEGL_OPERATION_FILTER_CLASS (klass);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]