[gimp] gimpcagetool: remove unused parameter for gimp_cage_tool_compute_coef



commit 40e564711c1735717b69c6b04bdbd7f8542c0527
Author: Michael Murà <batolettre gmail com>
Date:   Tue Jun 28 23:24:06 2011 +0200

    gimpcagetool: remove unused parameter for gimp_cage_tool_compute_coef

 app/tools/gimpcagetool.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/app/tools/gimpcagetool.c b/app/tools/gimpcagetool.c
index 4e434b4..a4b50d9 100644
--- a/app/tools/gimpcagetool.c
+++ b/app/tools/gimpcagetool.c
@@ -124,8 +124,7 @@ static gint       gimp_cage_tool_is_on_edge         (GimpCageTool          *ct,
                                                      gint                   handle_size);
 
 static void       gimp_cage_tool_remove_last_handle (GimpCageTool          *ct);
-static void       gimp_cage_tool_compute_coef       (GimpCageTool          *ct,
-                                                     GimpDisplay           *display);
+static void       gimp_cage_tool_compute_coef       (GimpCageTool          *ct);
 static void       gimp_cage_tool_create_image_map   (GimpCageTool          *ct,
                                                      GimpDrawable          *drawable);
 static void       gimp_cage_tool_image_map_flush    (GimpImageMap          *image_map,
@@ -359,7 +358,7 @@ gimp_cage_tool_options_notify (GimpTool         *tool,
 
           if (ct->dirty_coef)
             {
-              gimp_cage_tool_compute_coef (ct, tool->display);
+              gimp_cage_tool_compute_coef (ct);
               gimp_cage_tool_render_node_update (ct);
             }
 
@@ -1080,8 +1079,7 @@ gimp_cage_tool_remove_last_handle (GimpCageTool *ct)
 }
 
 static void
-gimp_cage_tool_compute_coef (GimpCageTool *ct,
-                             GimpDisplay  *display)
+gimp_cage_tool_compute_coef (GimpCageTool *ct)
 {
   GimpCageConfig *config = ct->config;
   GimpProgress   *progress;



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