app: clean up paint core cleanup

This commit is contained in:
Michael Natterer
2011-02-06 11:22:23 +01:00
parent 012eb1dd93
commit 16b020fc42

View File

@ -1263,12 +1263,9 @@ gimp_paint_core_smooth_coords (GimpPaintCore *core,
GimpPaintOptions *paint_options,
GimpCoords *coords)
{
GimpSmoothingOptions *smoothing_options = paint_options->smoothing_options;
GArray *history = core->stroke_buffer;
g_return_if_fail(GIMP_IS_PAINT_CORE(core));
if (core->stroke_buffer == NULL)
return; /* Paint core has not initalized yet */