[gegl/soc-2012-ops: 46/58] noise-rgb: cleaning before merge



commit 3ccbb5038daae4ec49fc90e09d711cbe94b88e5a
Author: Michael Murà <batolettre gmail com>
Date:   Tue Aug 28 17:15:49 2012 +0900

    noise-rgb: cleaning before merge

 operations/common/noise-rgb.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/noise-rgb.c b/operations/common/noise-rgb.c
index 8408f31..be679fa 100644
--- a/operations/common/noise-rgb.c
+++ b/operations/common/noise-rgb.c
@@ -75,7 +75,8 @@ gauss (GRand *gr)
   return x;
 }
 
-static void prepare (GeglOperation *operation)
+static void
+prepare (GeglOperation *operation)
 {
   gegl_operation_set_format (operation, "input", babl_format ("RGBA float"));
   gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
@@ -110,7 +111,7 @@ process (GeglOperation       *operation,
   noise[3] = o->alpha;
 
   for (i=0; i<n_pixels; i++)
-      {
+  {
     for (b = 0; b < 4; b++)
     {
       if (b == 0 || o->independent || b == 3 )
@@ -159,7 +160,7 @@ gegl_chant_class_init (GeglChantClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
       "name",       "gegl:noise-rgb",
-      "categories", "noise", 
+      "categories", "noise",
       "description", _("Distort colors by random amounts."),
       NULL);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]