[gimp] Bug 708517: Assertion on cage tool commit with ENTER + fix cage completion with ENTER.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 708517: Assertion on cage tool commit with ENTER + fix cage completion with ENTER.
- Date: Sat, 21 Sep 2013 10:43:08 +0000 (UTC)
commit 5e331e1d252fc5b855ed333a9d74da436930640f
Author: Jehan <jehan girinstud io>
Date: Sat Sep 21 20:43:11 2013 +1200
Bug 708517: Assertion on cage tool commit with ENTER + fix cage completion with ENTER.
The key press handler must return TRUE on successfully processing the key,
otherwise the handler ends up being run several times.
app/tools/gimpcagetool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpcagetool.c b/app/tools/gimpcagetool.c
index 457d34b..bf64409 100644
--- a/app/tools/gimpcagetool.c
+++ b/app/tools/gimpcagetool.c
@@ -438,7 +438,7 @@ gimp_cage_tool_key_press (GimpTool *tool,
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
}
- break;
+ return TRUE;
case GDK_KEY_Escape:
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]