[gimp/goat-invasion: 67/234] app: fix segfault in previous commit
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 67/234] app: fix segfault in previous commit
- Date: Fri, 23 Mar 2012 11:59:02 +0000 (UTC)
commit f802efdc050c48ce3cf11b56f5c7bd134d966946
Author: Ãyvind KolÃs <pippin gimp org>
Date: Fri Mar 16 01:14:13 2012 +0000
app: fix segfault in previous commit
app/core/gimpprojection-construct.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpprojection-construct.c b/app/core/gimpprojection-construct.c
index 696ee7b..27ed9d1 100644
--- a/app/core/gimpprojection-construct.c
+++ b/app/core/gimpprojection-construct.c
@@ -256,8 +256,9 @@ gimp_projection_initialize (GimpProjection *proj,
if (proj->use_gegl)
{
- g_assert (proj->sink_node);
- gegl_node_get (proj->sink_node, "buffer", &buffer, NULL);
+ /* GEGL should really do this for us... */
+ gegl_node_get (gimp_projection_get_sink_node (proj),
+ "buffer", &buffer, NULL);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]