app: clean up paint core cleanup
This commit is contained in:
@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user