gimp r25888 - in trunk: . app/core



Author: neo
Date: Wed Jun  4 12:54:52 2008
New Revision: 25888
URL: http://svn.gnome.org/viewvc/gimp?rev=25888&view=rev

Log:
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.


Modified:
   trunk/ChangeLog
   trunk/app/core/gimpdrawable-operation.c

Modified: trunk/app/core/gimpdrawable-operation.c
==============================================================================
--- trunk/app/core/gimpdrawable-operation.c	(original)
+++ trunk/app/core/gimpdrawable-operation.c	Wed Jun  4 12:54:52 2008
@@ -65,14 +65,13 @@
                                       &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",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]