no need to check for the 'dont-cache' property now that we depend on the

2008-06-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-operation.c (gimp_drawable_apply_operation):
	no need to check for the 'dont-cache' property now that we depend
	on the newer GEGL.

svn path=/trunk/; revision=25888
This commit is contained in:
Sven Neumann 2008-06-04 12:54:52 +00:00 committed by Sven Neumann
parent 74a17aa216
commit befe387b88
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2008-06-04 Sven Neumann <sven@gimp.org>
* app/core/gimpdrawable-operation.c (gimp_drawable_apply_operation):
no need to check for the 'dont-cache' property now that we depend
on the newer GEGL.
2008-06-04 Sven Neumann <sven@gimp.org>
* INSTALL: updated GEGL version and also mention babl.

View File

@ -65,14 +65,13 @@ gimp_drawable_apply_operation (GimpDrawable *drawable,
&rect.width, &rect.height))
return;
gegl = gegl_node_new ();
gegl = gegl_node_new ();
/* If the dont-cache property exist on the node object, we set it to
* false causing children of the node to not do any caching either,
* unless explicitly re-enabled.
/* Disable caching on all children of the node unless explicitly re-enabled.
*/
if (g_object_class_find_property (G_OBJECT_GET_CLASS (gegl), "dont-cache"))
g_object_set (gegl, "dont-cache", TRUE, NULL);
g_object_set (gegl,
"dont-cache", TRUE,
NULL);
input = gegl_node_new_child (gegl,
"operation", "gimp-tilemanager-source",