app: fix segfault in previous commit
This commit is contained in:

committed by
Michael Natterer

parent
b93e166440
commit
1ff7ecb4aa
@ -256,8 +256,9 @@ gimp_projection_initialize (GimpProjection *proj,
|
|||||||
|
|
||||||
if (proj->use_gegl)
|
if (proj->use_gegl)
|
||||||
{
|
{
|
||||||
g_assert (proj->sink_node);
|
/* GEGL should really do this for us... */
|
||||||
gegl_node_get (proj->sink_node, "buffer", &buffer, NULL);
|
gegl_node_get (gimp_projection_get_sink_node (proj),
|
||||||
|
"buffer", &buffer, NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user