[gimp] app: don't update the highlight when the rectangle tool is resumed
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't update the highlight when the rectangle tool is resumed
- Date: Thu, 27 Jan 2011 20:38:16 +0000 (UTC)
commit 70f88c43206addd1684bf9e79510feef1cc6e9b4
Author: Michael Natterer <mitch gimp org>
Date: Thu Jan 27 21:36:58 2011 +0100
app: don't update the highlight when the rectangle tool is resumed
It causes an infinite invalidation loop.
app/tools/gimprectangletool.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimprectangletool.c b/app/tools/gimprectangletool.c
index 1cd0123..f3f4adf 100644
--- a/app/tools/gimprectangletool.c
+++ b/app/tools/gimprectangletool.c
@@ -872,8 +872,6 @@ gimp_rectangle_tool_control (GimpTool *tool,
break;
case GIMP_TOOL_ACTION_RESUME:
- gimp_rectangle_tool_update_highlight (rect_tool);
-
/* When highlightning is on, the shell gets paused/unpaused which means we
* will get here, but we only want to recalculate handle sizes when the
* zoom has changed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]