[gimp/gimp-2-10] Isse #1476 - strange behavior in Layer resize dialog
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Isse #1476 - strange behavior in Layer resize dialog
- Date: Sun, 17 Jun 2018 13:37:23 +0000 (UTC)
commit ac9fff1f1d631dbd97ac74ce3b7e735eaa8f57ed
Author: Michael Natterer <mitch gimp org>
Date: Sun Jun 17 15:33:53 2018 +0200
Isse #1476 - strange behavior in Layer resize dialog
resize_dialog_new(): create the preview with "popup = TRUE", so we
really get a preview of layer size and not of the layer within the
image context like used for the layers dialog.
(cherry picked from commit 93d28ceccc46c0019a636fa6dcca28b670a82b10)
app/dialogs/resize-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/dialogs/resize-dialog.c b/app/dialogs/resize-dialog.c
index c1447bc082..6db5f969df 100644
--- a/app/dialogs/resize-dialog.c
+++ b/app/dialogs/resize-dialog.c
@@ -295,7 +295,7 @@ resize_dialog_new (GimpViewable *viewable,
gtk_container_add (GTK_CONTAINER (frame), private->area);
gtk_widget_show (private->area);
- gimp_viewable_get_preview_size (viewable, 200, FALSE, TRUE, &width, &height);
+ gimp_viewable_get_preview_size (viewable, 200, TRUE, TRUE, &width, &height);
pixbuf = gimp_viewable_get_pixbuf (viewable, context,
width, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]