app: GimpCanvasLayerBoundary: actually use the figured "edit_mask" boolean

instead of always passing FALSE when changing to a different
layer. For some reason we were displaying the right state anyway,
which can only mean that we do things redundantly here and call this
function twice.
This commit is contained in:
Michael Natterer 2011-05-01 22:36:25 +02:00
parent 2b1807054f
commit 99df9e114e
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ gimp_canvas_layer_boundary_set_layer (GimpCanvasLayerBoundary *boundary,
g_object_set (boundary,
"layer", layer,
"edit-mask", FALSE,
"edit-mask", edit_mask,
NULL);
gimp_canvas_item_end_change (GIMP_CANVAS_ITEM (boundary));