• Michael Natterer's avatar
    Refcount layer masks correctly. Fixes layer mask undo. · f4e1ec97
    Michael Natterer authored
    2002-09-01  Michael Natterer  <mitch@gimp.org>
    
    	Refcount layer masks correctly. Fixes layer mask undo.
    
    	* app/core/gimplayer.c (gimp_layer_add_mask): ref the mask.
    
    	* app/xcf/xcf-load.c
    	* app/gui/layers-commands.c
    	* tools/pdbgen/pdb/image.pdb: unref layer masks after adding them.
    
    	* app/pdb/image_cmds.c: regenerated.
    f4e1ec97
layers-commands.c 34.2 KB