[gegl] fractal-trace: Some more code cleanups



commit dc3079d3a5a54eeb1f3e6ca2dad8afee03a78da7
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Jun 30 21:30:51 2011 +0530

    fractal-trace: Some more code cleanups

 operations/workshop/fractal-trace.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/workshop/fractal-trace.c b/operations/workshop/fractal-trace.c
index e74e823..4b5c7e1 100644
--- a/operations/workshop/fractal-trace.c
+++ b/operations/workshop/fractal-trace.c
@@ -198,7 +198,6 @@ fractaltrace (GeglBuffer          *input,
             }
         }
 
-      /*upload pixel value is destination buffer*/
       for (i = 0; i < 4; i++)
         dst_buf[offset++] = dest[i];
     }
@@ -255,8 +254,9 @@ static GeglRectangle
 get_bounding_box (GeglOperation *operation)
 {
   GeglRectangle  result = {0,0,0,0};
-  GeglRectangle *in_rect = gegl_operation_source_get_bounding_box (operation, "input");
+  GeglRectangle *in_rect;
 
+  in_rect = gegl_operation_source_get_bounding_box (operation, "input");
   if (!in_rect)
     return result;
 



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