[gimp] app: GimpCanvasLayerBoundary: actually use the figured "edit_mask" boolean
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: GimpCanvasLayerBoundary: actually use the figured "edit_mask" boolean
- Date: Sun, 1 May 2011 20:42:46 +0000 (UTC)
commit 99df9e114e16a1272c3f492b434adcf4075f6592
Author: Michael Natterer <mitch gimp org>
Date: Sun May 1 22:36:25 2011 +0200
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.
app/display/gimpcanvaslayerboundary.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpcanvaslayerboundary.c b/app/display/gimpcanvaslayerboundary.c
index 4fa1c76..54a7e35 100644
--- a/app/display/gimpcanvaslayerboundary.c
+++ b/app/display/gimpcanvaslayerboundary.c
@@ -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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]