app: don't call gimp_tool_control_halt() in gimp_rectangle_tool_halt()

It's not the rectangle tool's business to manage press/motion/release
cycles. Fixes warnings in the crop tool.
This commit is contained in:
Michael Natterer 2011-05-20 19:15:31 +02:00
parent 9aae53802f
commit da380504bf
1 changed files with 0 additions and 3 deletions

View File

@ -2234,9 +2234,6 @@ gimp_rectangle_tool_halt (GimpRectangleTool *rect_tool)
if (gimp_draw_tool_is_active (GIMP_DRAW_TOOL (rect_tool)))
gimp_draw_tool_stop (GIMP_DRAW_TOOL (rect_tool));
if (gimp_tool_control_is_active (tool->control))
gimp_tool_control_halt (tool->control);
tool->display = NULL;
tool->drawable = NULL;