[gimp/gimp-2-10] app: behave as if "show all" is disabled in GimpCanvasPassePartout when keeping padding
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: behave as if "show all" is disabled in GimpCanvasPassePartout when keeping padding
- Date: Sun, 15 Sep 2019 13:42:50 +0000 (UTC)
commit dcfbc877ac16f7dc4766eb7b9cc7a6b1e16042ef
Author: Ell <ell_se yahoo com>
Date: Sun Sep 15 16:28:55 2019 +0300
app: behave as if "show all" is disabled in GimpCanvasPassePartout when keeping padding
app/display/gimpcanvaspassepartout.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpcanvaspassepartout.c b/app/display/gimpcanvaspassepartout.c
index 8fa6bf243d..21e7307761 100644
--- a/app/display/gimpcanvaspassepartout.c
+++ b/app/display/gimpcanvaspassepartout.c
@@ -146,7 +146,7 @@ gimp_canvas_passe_partout_draw (GimpCanvasItem *item,
gint x, y;
gint w, h;
- if (! shell->show_all)
+ if (! gimp_display_shell_get_infinite_canvas (shell))
{
x = -shell->offset_x;
y = -shell->offset_y;
@@ -169,7 +169,7 @@ gimp_canvas_passe_partout_get_extents (GimpCanvasItem *item)
GimpDisplayShell *shell = gimp_canvas_item_get_shell (item);
cairo_rectangle_int_t rectangle;
- if (! shell->show_all)
+ if (! gimp_display_shell_get_infinite_canvas (shell))
{
cairo_region_t *inner;
cairo_region_t *outer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]