[gimp/blend-tool-fun: 4/9] core: Remove unused parameter.



commit fa52df2f9fc7583aa5ff3f342b47ee6a31ae6b82
Author: Michael Henning <drawoc darkrefraction com>
Date:   Sun Apr 26 23:08:10 2015 -0400

    core: Remove unused parameter.

 app/core/gimpdrawable-blend.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/core/gimpdrawable-blend.c b/app/core/gimpdrawable-blend.c
index 198b17f..00ddb60 100644
--- a/app/core/gimpdrawable-blend.c
+++ b/app/core/gimpdrawable-blend.c
@@ -126,7 +126,6 @@ static gdouble  gradient_calc_shapeburst_dimpled_factor   (GeglBuffer *dist_buff
 static GeglBuffer * gradient_precalc_shapeburst (GimpImage           *image,
                                                  GimpDrawable        *drawable,
                                                  const GeglRectangle *region,
-                                                 gdouble              dist,
                                                  GimpProgress        *progress);
 
 static void     gradient_render_pixel       (gdouble              x,
@@ -532,7 +531,6 @@ static GeglBuffer *
 gradient_precalc_shapeburst (GimpImage           *image,
                              GimpDrawable        *drawable,
                              const GeglRectangle *region,
-                             gdouble              dist,
                              GimpProgress        *progress)
 {
   GimpChannel *mask;
@@ -862,7 +860,7 @@ gradient_fill_region (GimpImage           *image,
       rbd.dist = sqrt (SQR (ex - sx) + SQR (ey - sy));
       rbd.dist_buffer = gradient_precalc_shapeburst (image, drawable,
                                                      buffer_region,
-                                                     rbd.dist, progress);
+                                                     progress);
       gimp_progress_set_text_literal (progress, _("Blending"));
       break;
 


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