mirror of https://github.com/GNOME/gimp.git
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:
parent
9aae53802f
commit
da380504bf
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue