mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
chain up before clearing src_drawable and src_display, so the draw tool
2006-09-13 Michael Natterer <mitch@gimp.org> * app/tools/gimpsourcetool.c (gimp_source_tool_control): chain up before clearing src_drawable and src_display, so the draw tool can undraw the source marker. Fixes bug #355746.
This commit is contained in:
parent
c8800a628b
commit
2e0f6b6b02
|
@ -1,3 +1,9 @@
|
|||
2006-09-13 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpsourcetool.c (gimp_source_tool_control): chain
|
||||
up before clearing src_drawable and src_display, so the draw
|
||||
tool can undraw the source marker. Fixes bug #355746.
|
||||
|
||||
2006-09-13 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/paint/gimpclone.c (gimp_clone_motion): don't access the
|
||||
|
|
|
@ -145,6 +145,11 @@ gimp_source_tool_control (GimpTool *tool,
|
|||
{
|
||||
GimpSourceTool *source_tool = GIMP_SOURCE_TOOL (tool);
|
||||
|
||||
/* chain up early so the draw tool can undraw the source marker
|
||||
* while we still know about source drawable and display
|
||||
*/
|
||||
GIMP_TOOL_CLASS (parent_class)->control (tool, action, display);
|
||||
|
||||
switch (action)
|
||||
{
|
||||
case GIMP_TOOL_ACTION_PAUSE:
|
||||
|
@ -158,8 +163,6 @@ gimp_source_tool_control (GimpTool *tool,
|
|||
NULL);
|
||||
break;
|
||||
}
|
||||
|
||||
GIMP_TOOL_CLASS (parent_class)->control (tool, action, display);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue