app: fix buffer == NULL warning in GimpProjection
This commit is contained in:
@ -708,7 +708,7 @@ gimp_projection_construct (GimpProjection *proj,
|
|||||||
g_return_if_fail (GIMP_IS_PROJECTION (proj));
|
g_return_if_fail (GIMP_IS_PROJECTION (proj));
|
||||||
|
|
||||||
/* GEGL should really do this for us... */
|
/* GEGL should really do this for us... */
|
||||||
gegl_buffer_clear (proj->buffer, &rect);
|
gegl_buffer_clear (gimp_projection_get_buffer (GIMP_PICKABLE (proj)), &rect);
|
||||||
|
|
||||||
if (! proj->processor)
|
if (! proj->processor)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user