app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init) don't
2004-07-28 Michael Natterer <mitch@gimp.org> * app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init) * app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_init): don't call gimp_tool_control_set_preserve (tool->control, FALSE) because these tools don't cashe any image state and don't care about the image changing under their feet.
This commit is contained in:

committed by
Michael Natterer

parent
d7a77398b9
commit
e36039f447
@ -1,3 +1,11 @@
|
||||
2004-07-28 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init)
|
||||
* app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_init):
|
||||
don't call gimp_tool_control_set_preserve (tool->control, FALSE)
|
||||
because these tools don't cashe any image state and don't care
|
||||
about the image changing under their feet.
|
||||
|
||||
2004-07-28 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
|
||||
|
@ -134,10 +134,6 @@ gimp_by_color_select_tool_class_init (GimpByColorSelectToolClass *klass)
|
||||
static void
|
||||
gimp_by_color_select_tool_init (GimpByColorSelectTool *by_color_select)
|
||||
{
|
||||
GimpTool *tool = GIMP_TOOL (by_color_select);
|
||||
|
||||
gimp_tool_control_set_preserve (tool->control, FALSE);
|
||||
|
||||
by_color_select->x = 0;
|
||||
by_color_select->y = 0;
|
||||
}
|
||||
|
@ -154,9 +154,9 @@ gimp_color_picker_tool_class_init (GimpColorPickerToolClass *klass)
|
||||
static void
|
||||
gimp_color_picker_tool_init (GimpColorPickerTool *tool)
|
||||
{
|
||||
GIMP_COLOR_TOOL (tool)->pick_mode = GIMP_COLOR_PICK_MODE_FOREGROUND;
|
||||
GimpColorTool *color_tool = GIMP_COLOR_TOOL (tool);
|
||||
|
||||
gimp_tool_control_set_preserve (GIMP_TOOL (tool)->control, FALSE);
|
||||
color_tool->pick_mode = GIMP_COLOR_PICK_MODE_FOREGROUND;
|
||||
}
|
||||
|
||||
static GObject *
|
||||
|
Reference in New Issue
Block a user