[gimp] app: don't call gimp_free_select_tool_select() from FG select



commit 05abd5a37d3524463d9d667b92329e6eb66614b5
Author: Michael Natterer <mitch gimp org>
Date:   Thu Apr 17 01:42:38 2014 +0200

    app: don't call gimp_free_select_tool_select() from FG select
    
    It doesn't serve any purpose since its implementation doesn't
    do anything in FREE_SELECT mode.

 app/tools/gimpforegroundselecttool.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimpforegroundselecttool.c b/app/tools/gimpforegroundselecttool.c
index 7f339d0..c793836 100644
--- a/app/tools/gimpforegroundselecttool.c
+++ b/app/tools/gimpforegroundselecttool.c
@@ -527,8 +527,6 @@ gimp_foreground_select_tool_button_release (GimpTool              *tool,
       else
         gimp_foreground_select_tool_set_trimap (fg_select, display);
 
-      gimp_free_select_tool_select (GIMP_FREE_SELECT_TOOL (tool), display);
-
       gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool));
     }
 }


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