[gimp] 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] app: behave as if "show all" is disabled in GimpCanvasPassePartout when keeping padding
- Date: Sun, 15 Sep 2019 13:43:20 +0000 (UTC)
commit c98edaf1011b6313611a5237e9e86aeb867cb038
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 85f8251d1a..f17290dd7c 100644
--- a/app/display/gimpcanvaspassepartout.c
+++ b/app/display/gimpcanvaspassepartout.c
@@ -148,7 +148,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;
@@ -171,7 +171,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]