chain up.

2007-07-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcolortool.c (gimp_color_tool_draw): chain up.

svn path=/trunk/; revision=22957
This commit is contained in:
Sven Neumann
2007-07-19 09:09:26 +00:00
committed by Sven Neumann
parent 17d4af0080
commit f6c626fba3
2 changed files with 36 additions and 30 deletions

View File

@ -1,3 +1,7 @@
2007-07-19 Sven Neumann <sven@gimp.org>
* app/tools/gimpcolortool.c (gimp_color_tool_draw): chain up.
2007-07-18 Sven Neumann <sven@gimp.org>
* app/pdb/gimpprocedure.[ch] (gimp_procedure_set_strings): added

View File

@ -551,9 +551,8 @@ gimp_color_tool_draw (GimpDrawTool *draw_tool)
{
GimpColorTool *color_tool = GIMP_COLOR_TOOL (draw_tool);
if (! color_tool->enabled)
return;
if (color_tool->enabled)
{
if (color_tool->moving_sample_point)
{
if (color_tool->sample_point_x != -1 &&
@ -586,6 +585,9 @@ gimp_color_tool_draw (GimpDrawTool *draw_tool)
TRUE);
}
}
}
GIMP_DRAW_TOOL_CLASS (parent_class)->draw (draw_tool);
}
static gboolean