app/gimpimage.c app/undo.c app/undo_types.h docs/undo.txt Changed sanity
1999-12-10 Garry R. Osgood <gosgood@idt.net> * app/gimpimage.c * app/undo.c * app/undo_types.h * docs/undo.txt Changed sanity checks in undo_pop/free_layer_mask() to LAYER_MASK_ADD_UNDO and LAYER_MASK_REMOVE_UNDO to be consistent with undo_push_layer_mask() These now nvoke proper cleanup and release of GimpLayerMasks. * docs/undo.txt: New file, an overview of undo logic written by Austin Donnelly * app/undo.c * app/undo_types.h * app/gimpimage.c : Introduced a new UndoType, UNDO_NULL, which maps to zero, introducing that value into the enumerated types. Use the type to signal type unknown/error/untyped conditions. Full patch documentation at http://idt.net/~gosgood/gimp-patch/patch02.html
This commit is contained in:

committed by
Garry R. Osgood

parent
4f1e315aba
commit
fe6ee9d1af
@ -181,7 +181,7 @@ gimp_image_init (GimpImage *gimage)
|
||||
gimage->undo_bytes = 0;
|
||||
gimage->undo_levels = 0;
|
||||
gimage->group_count = 0;
|
||||
gimage->pushing_undo_group = 0;
|
||||
gimage->pushing_undo_group = UNDO_NULL;
|
||||
gimage->comp_preview_valid[0] = FALSE;
|
||||
gimage->comp_preview_valid[1] = FALSE;
|
||||
gimage->comp_preview_valid[2] = FALSE;
|
||||
|
Reference in New Issue
Block a user