mirror of https://github.com/GNOME/gimp.git
Unref layer mask rather than layer when adding the mask. Fixes bug #92693.
2002-09-07 Dave Neary <bolsh@gimp.org> * app/xcf/xcf-load.c: Unref layer mask rather than layer when adding the mask. Fixes bug #92693.
This commit is contained in:
parent
e17baf71d6
commit
70467e55c2
|
@ -1,3 +1,8 @@
|
|||
2002-09-07 Dave Neary <bolsh@gimp.org>
|
||||
|
||||
* app/xcf/xcf-load.c: Unref layer mask rather than layer
|
||||
when adding the mask. Fixes bug #92693.
|
||||
|
||||
2002-09-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* */*/makefile.msc : updated
|
||||
|
|
|
@ -903,7 +903,7 @@ xcf_load_layer (XcfInfo *info,
|
|||
GIMP_DRAWABLE (layer_mask)->offset_y = GIMP_DRAWABLE (layer)->offset_y;
|
||||
|
||||
gimp_layer_add_mask (layer, layer_mask, FALSE);
|
||||
g_object_unref (G_OBJECT (layer));
|
||||
g_object_unref (G_OBJECT (layer_mask));
|
||||
|
||||
layer->mask->apply_mask = apply_mask;
|
||||
layer->mask->edit_mask = edit_mask;
|
||||
|
|
Loading…
Reference in New Issue