[gegl] gegl_node_get_cache: fix bugs introduced when recreating patch for previous commit
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl_node_get_cache: fix bugs introduced when recreating patch for previous commit
- Date: Sat, 23 May 2015 14:44:00 +0000 (UTC)
commit eb6dd8e46f58bd31a1c139118b865b9c3c246964
Author: Øyvind Kolås <pippin gimp org>
Date: Sat May 23 16:43:39 2015 +0200
gegl_node_get_cache: fix bugs introduced when recreating patch for previous commit
gegl/graph/gegl-node.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index d3efb0a..f6d409c 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -1889,10 +1889,9 @@ gegl_node_get_cache (GeglNode *node)
"format", format,
NULL);
- gegl_object_set_has_forked (G_OBJECT (node->cache));
-
+ gegl_object_set_has_forked (G_OBJECT (cache));
gegl_node_get_bounding_box (node);
- gegl_buffer_set_extent (GEGL_BUFFER (node->cache), &node->have_rect);
+ gegl_buffer_set_extent (GEGL_BUFFER (cache), &node->have_rect);
g_signal_connect (G_OBJECT (cache), "computed",
(GCallback) gegl_node_computed_event,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]