Bill Skaggs <weskaggs@primate.ucdavis.edu>

* libgimp/gimpdrawable.c: moved call to
	_gimp_tile_cache_flush_drawable() from gimp_drawable_detach() to
	gimp_drawable_flush(), to resolve problem described in bug
	#145051.
This commit is contained in:
William Skaggs 2004-06-30 20:28:30 +00:00
parent b13087adb9
commit 10ffa7d90b
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2004-06-30 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimp/gimpdrawable.c: moved call to
_gimp_tile_cache_flush_drawable() from gimp_drawable_detach() to
gimp_drawable_flush(), to resolve problem described in bug
#145051.
2004-06-30 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-ins.[ch] (plug_ins_init): added a GimpContext

View file

@ -90,9 +90,6 @@ gimp_drawable_detach (GimpDrawable *drawable)
gimp_drawable_flush (drawable);
/* nuke all references to this drawable from the cache */
_gimp_tile_cache_flush_drawable (drawable);
if (drawable->tiles)
g_free (drawable->tiles);
if (drawable->shadow_tiles)
@ -140,6 +137,9 @@ gimp_drawable_flush (GimpDrawable *drawable)
if ((tiles[i].ref_count > 0) && tiles[i].dirty)
gimp_tile_flush (&tiles[i]);
}
/* nuke all references to this drawable from the cache */
_gimp_tile_cache_flush_drawable (drawable);
}
GimpTile *