mirror of https://github.com/GNOME/gimp.git
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
This commit is contained in:
parent
45aef9a352
commit
f9c64f092b
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue