mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
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:
parent
474da9fcc4
commit
4a9a80548a
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue