[gimp] app: fix showing the layer boundary when there is a floating selection
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix showing the layer boundary when there is a floating selection
- Date: Sat, 2 Oct 2010 20:31:17 +0000 (UTC)
commit 8c214f95ca78710d5395584d0913d1cfe3f38b05
Author: Michael Natterer <mitch gimp org>
Date: Sat Oct 2 22:30:30 2010 +0200
app: fix showing the layer boundary when there is a floating selection
...which I broke myself back in 2003 (sic!).
app/core/gimplayer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimplayer.c b/app/core/gimplayer.c
index ece5fd3..5f9295e 100644
--- a/app/core/gimplayer.c
+++ b/app/core/gimplayer.c
@@ -1929,8 +1929,6 @@ gimp_layer_boundary (GimpLayer *layer,
g_return_val_if_fail (GIMP_IS_LAYER (layer), NULL);
- item = GIMP_ITEM (layer);
-
if (gimp_layer_is_floating_sel (layer))
{
GimpDrawable *fs_drawable;
@@ -1953,6 +1951,8 @@ gimp_layer_boundary (GimpLayer *layer,
}
}
+ item = GIMP_ITEM (layer);
+
/* Create the four boundary segments that encompass this
* layer's boundary.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]