app: port GimpDrawableUndo, GimpDrawable::push_undo() and ::swap_tiles()

which gets rid of the manual implementation of sparse undo buffers,
but GEGL will take care of proper COW here soo enough.
This commit is contained in:
Michael Natterer
2012-03-22 14:13:17 +01:00
parent 2ff19d7087
commit a0c1007b66
12 changed files with 115 additions and 174 deletions

View File

@ -36,8 +36,7 @@ struct _GimpDrawableUndo
{
GimpItemUndo parent_instance;
TileManager *tiles;
gboolean sparse;
GeglBuffer *buffer;
gint x;
gint y;
gint width;