mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
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:
parent
b13087adb9
commit
10ffa7d90b
|
@ -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
|
||||
|
|
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue