[gimp] app: GimpBrightnessContrastTool: don't call gimp_image_map_tool_preview()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: GimpBrightnessContrastTool: don't call gimp_image_map_tool_preview()
- Date: Wed, 21 May 2014 23:28:10 +0000 (UTC)
commit 7ae3612485b084ac22fe7c23f9fd5786ca824adf
Author: Michael Natterer <mitch gimp org>
Date: Thu May 22 01:25:01 2014 +0200
app: GimpBrightnessContrastTool: don't call gimp_image_map_tool_preview()
it was redundant because the function already modified the config
object.
app/tools/gimpbrightnesscontrasttool.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimpbrightnesscontrasttool.c b/app/tools/gimpbrightnesscontrasttool.c
index 0fb8134..06f94e8 100644
--- a/app/tools/gimpbrightnesscontrasttool.c
+++ b/app/tools/gimpbrightnesscontrasttool.c
@@ -205,7 +205,6 @@ gimp_brightness_contrast_tool_button_release (GimpTool *tool,
GimpDisplay *display)
{
GimpBrightnessContrastTool *bc_tool = GIMP_BRIGHTNESS_CONTRAST_TOOL (tool);
- GimpImageMapTool *im_tool = GIMP_IMAGE_MAP_TOOL (tool);
gimp_tool_control_halt (tool->control);
@@ -214,8 +213,6 @@ gimp_brightness_contrast_tool_button_release (GimpTool *tool,
if (release_type == GIMP_BUTTON_RELEASE_CANCEL)
gimp_config_reset (GIMP_CONFIG (bc_tool->config));
-
- gimp_image_map_tool_preview (im_tool);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]