remove some #if 0'ed cruft.

2006-05-22  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c (gimp_paint_tool_control): remove
	some #if 0'ed cruft.
This commit is contained in:
Michael Natterer 2006-05-22 19:23:23 +00:00 committed by Michael Natterer
parent 474da9fcc4
commit 4a9a80548a
3 changed files with 5 additions and 46 deletions

View file

@ -1,3 +1,8 @@
2006-05-22 Michael Natterer <mitch@gimp.org>
* app/tools/gimppainttool.c (gimp_paint_tool_control): remove
some #if 0'ed cruft.
2006-05-22 Michael Natterer <mitch@gimp.org>
* app/tools/gimpclonetool.[ch]: re-apply heavily modified patch

View file

@ -286,29 +286,6 @@ gimp_paint_tool_control (GimpTool *tool,
GIMP_PAINT_OPTIONS (tool->tool_info->tool_options),
GIMP_PAINT_STATE_FINISH, 0);
gimp_paint_core_cleanup (paint_tool->core);
#if 0
/* evil hack i'm thinking about... --mitch */
{
/* HALT means the current display is going to go away (TM),
* so try to find another display of the same image to make
* straight line drawing continue to work...
*/
GSList *list;
for (list = display_list; list; list = g_slist_next (list))
{
GimpDisplay *tmp_disp = list->data;
if (tmp_disp != display && tmp_disp->image == display->image)
{
tool->display = tmp_disp;
break;
}
}
}
#endif
break;
}

View file

@ -286,29 +286,6 @@ gimp_paint_tool_control (GimpTool *tool,
GIMP_PAINT_OPTIONS (tool->tool_info->tool_options),
GIMP_PAINT_STATE_FINISH, 0);
gimp_paint_core_cleanup (paint_tool->core);
#if 0
/* evil hack i'm thinking about... --mitch */
{
/* HALT means the current display is going to go away (TM),
* so try to find another display of the same image to make
* straight line drawing continue to work...
*/
GSList *list;
for (list = display_list; list; list = g_slist_next (list))
{
GimpDisplay *tmp_disp = list->data;
if (tmp_disp != display && tmp_disp->image == display->image)
{
tool->display = tmp_disp;
break;
}
}
}
#endif
break;
}