mirror of https://github.com/GNOME/gimp.git
don't execute gimp_rectangle_tool_response() twice. Fixes bug #342506.
2006-05-23 Karine Delvare <edhel@gimp.org> * app/tools/gimpnewrectselecttool.c: don't execute gimp_rectangle_tool_response() twice. Fixes bug #342506.
This commit is contained in:
parent
c3448b2cbf
commit
9ae62df553
|
@ -1,3 +1,8 @@
|
|||
2006-05-23 Karine Delvare <edhel@gimp.org>
|
||||
|
||||
* app/tools/gimpnewrectselecttool.c: don't execute
|
||||
gimp_rectangle_tool_response() twice. Fixes bug #342506.
|
||||
|
||||
2006-05-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
It makes more sense to have GimpData::dirty indicate a name change
|
||||
|
|
|
@ -243,9 +243,10 @@ gimp_new_rect_select_tool_button_release (GimpTool *tool,
|
|||
gimp_tool_push_status (tool, display,
|
||||
_("Click or press enter to create the selection."));
|
||||
|
||||
gimp_rectangle_tool_button_release (tool, coords, time, state, display);
|
||||
if (function >= RECT_RESIZING_UPPER_LEFT && function <= RECT_RESIZING_BOTTOM)
|
||||
gimp_rectangle_tool_response (NULL, GIMP_RECTANGLE_MODE_EXECUTE, rectangle);
|
||||
else
|
||||
gimp_rectangle_tool_button_release (tool, coords, time, state, display);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -243,9 +243,10 @@ gimp_new_rect_select_tool_button_release (GimpTool *tool,
|
|||
gimp_tool_push_status (tool, display,
|
||||
_("Click or press enter to create the selection."));
|
||||
|
||||
gimp_rectangle_tool_button_release (tool, coords, time, state, display);
|
||||
if (function >= RECT_RESIZING_UPPER_LEFT && function <= RECT_RESIZING_BOTTOM)
|
||||
gimp_rectangle_tool_response (NULL, GIMP_RECTANGLE_MODE_EXECUTE, rectangle);
|
||||
else
|
||||
gimp_rectangle_tool_button_release (tool, coords, time, state, display);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue