[gimp] Use gimp_drawable_get_tiles() in a few places instead of direct access



commit 4347c67964e27abfffbf6163c80d3e1508bb9f4b
Author: Michael Natterer <mitch gimp org>
Date:   Thu Sep 3 08:16:26 2009 +0200

    Use gimp_drawable_get_tiles() in a few places instead of direct access

 app/core/gimpdrawable.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index 079f940..c49e9c6 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -770,7 +770,7 @@ gimp_drawable_real_set_tiles (GimpDrawable *drawable,
 
   if (drawable->private->tile_source_node)
     gegl_node_set (drawable->private->tile_source_node,
-                   "tile-manager", drawable->private->tiles,
+                   "tile-manager", gimp_drawable_get_tiles (drawable),
                    NULL);
 }
 
@@ -1146,7 +1146,7 @@ gimp_drawable_configure (GimpDrawable  *drawable,
 
   if (drawable->private->tile_source_node)
     gegl_node_set (drawable->private->tile_source_node,
-                   "tile-manager", drawable->private->tiles,
+                   "tile-manager", gimp_drawable_get_tiles (drawable),
                    NULL);
 }
 
@@ -1460,7 +1460,7 @@ gimp_drawable_get_source_node (GimpDrawable *drawable)
   drawable->private->tile_source_node =
     gegl_node_new_child (drawable->private->source_node,
                          "operation",    "gimp:tilemanager-source",
-                         "tile-manager", drawable->private->tiles,
+                         "tile-manager", gimp_drawable_get_tiles (drawable),
                          "linear",       TRUE,
                          NULL);
 



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