[gimp] app: GimpEditSelectionTool: call control_halt() in button_release()



commit 3d2fb51a6367a97d60ad8f71e9856ebb3574bb5e
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 30 12:08:38 2011 +0200

    app: GimpEditSelectionTool: call control_halt() in button_release()
    
    Just for consistency, the tool is destroyed at the end of
    button_release() anyway.

 app/tools/gimpeditselectiontool.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpeditselectiontool.c b/app/tools/gimpeditselectiontool.c
index 5529677..2d2db55 100644
--- a/app/tools/gimpeditselectiontool.c
+++ b/app/tools/gimpeditselectiontool.c
@@ -473,6 +473,8 @@ gimp_edit_selection_tool_button_release (GimpTool              *tool,
 
   gimp_tool_pop_status (tool, display);
 
+  gimp_tool_control_halt (tool->control);
+
   /*  Stop and free the selection core  */
   gimp_draw_tool_stop (GIMP_DRAW_TOOL (edit_select));
 



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