Commit 18640f90 authored by Martin Nordholts's avatar Martin Nordholts

Remove gimp_drawable_update_tile_source_node()

Remove gimp_drawable_update_tile_source_node(), it was not useful.

svn path=/trunk/; revision=28034
parent 8a28c073
2009-02-14 Martin Nordholts <martinn@svn.gnome.org>
* app/core/gimpdrawable.c: Remove
gimp_drawable_update_tile_source_node(), it was not useful.
2009-02-14 Sven Neumann <sven@gimp.org>
* app/core/gimpcoords-interpolate.c
......
......@@ -722,17 +722,6 @@ gimp_drawable_real_get_tiles (GimpDrawable *drawable)
return drawable->private->tiles;
}
static void
gimp_drawable_update_tile_source_node (GimpDrawable *drawable)
{
if (! drawable->private->tile_source_node)
return;
gegl_node_set (drawable->private->tile_source_node,
"tile-manager", drawable->private->tiles,
NULL);
}
static void
gimp_drawable_real_set_tiles (GimpDrawable *drawable,
gboolean push_undo,
......@@ -782,7 +771,10 @@ gimp_drawable_real_set_tiles (GimpDrawable *drawable,
if (old_has_alpha != gimp_drawable_has_alpha (drawable))
gimp_drawable_alpha_changed (drawable);
gimp_drawable_update_tile_source_node (drawable);
if (drawable->private->tile_source_node)
gegl_node_set (drawable->private->tile_source_node,
"tile-manager", drawable->private->tiles,
NULL);
}
static GeglNode *
......@@ -1121,7 +1113,10 @@ gimp_drawable_configure (GimpDrawable *drawable,
drawable->private->preview_cache = NULL;
drawable->private->preview_valid = FALSE;
gimp_drawable_update_tile_source_node (drawable);
if (drawable->private->tile_source_node)
gegl_node_set (drawable->private->tile_source_node,
"tile-manager", drawable->private->tiles,
NULL);
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment