Commit f9c64f09 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

if the curve view didn't handle the key press, chain up so the normal

2009-02-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_key_press): if the
	curve view didn't handle the key press, chain up so the normal
	GimpImageMapTool keys for reset/cancel/ok works.


svn path=/trunk/; revision=28003
parent 45aef9a3
2009-02-08 Michael Natterer <mitch@gimp.org>
* app/tools/gimpcurvestool.c (gimp_curves_tool_key_press): if the
curve view didn't handle the key press, chain up so the normal
GimpImageMapTool keys for reset/cancel/ok works.
2009-02-08 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimppaintoptions-gui.c: Fix stack overwrites in
......
......@@ -299,7 +299,10 @@ gimp_curves_tool_key_press (GimpTool *tool,
{
GimpCurvesTool *c_tool = GIMP_CURVES_TOOL (tool);
return gtk_widget_event (c_tool->graph, (GdkEvent *) kevent);
if (gtk_widget_event (c_tool->graph, (GdkEvent *) kevent))
return TRUE;
return GIMP_TOOL_CLASS (parent_class)->key_press (tool, kevent, display);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment