mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +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
2 changed files with 10 additions and 3 deletions
|
@ -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>
|
2004-06-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/plug-in/plug-ins.[ch] (plug_ins_init): added a GimpContext
|
* 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);
|
gimp_drawable_flush (drawable);
|
||||||
|
|
||||||
/* nuke all references to this drawable from the cache */
|
|
||||||
_gimp_tile_cache_flush_drawable (drawable);
|
|
||||||
|
|
||||||
if (drawable->tiles)
|
if (drawable->tiles)
|
||||||
g_free (drawable->tiles);
|
g_free (drawable->tiles);
|
||||||
if (drawable->shadow_tiles)
|
if (drawable->shadow_tiles)
|
||||||
|
@ -140,6 +137,9 @@ gimp_drawable_flush (GimpDrawable *drawable)
|
||||||
if ((tiles[i].ref_count > 0) && tiles[i].dirty)
|
if ((tiles[i].ref_count > 0) && tiles[i].dirty)
|
||||||
gimp_tile_flush (&tiles[i]);
|
gimp_tile_flush (&tiles[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* nuke all references to this drawable from the cache */
|
||||||
|
_gimp_tile_cache_flush_drawable (drawable);
|
||||||
}
|
}
|
||||||
|
|
||||||
GimpTile *
|
GimpTile *
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue