[gimp] app: fix glitch in my recent unit conversion cleanup
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix glitch in my recent unit conversion cleanup
- Date: Sun, 28 Feb 2010 14:33:18 +0000 (UTC)
commit 55961ab149376264423ab97338986bdca6ea676f
Author: Michael Natterer <mitch gimp org>
Date: Sun Feb 28 15:28:43 2010 +0100
app: fix glitch in my recent unit conversion cleanup
app/display/gimpdisplayshell-scale.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-scale.c b/app/display/gimpdisplayshell-scale.c
index ac05299..83bea28 100644
--- a/app/display/gimpdisplayshell-scale.c
+++ b/app/display/gimpdisplayshell-scale.c
@@ -1126,6 +1126,6 @@ img2real (GimpDisplayShell *shell,
gimp_image_get_resolution (gimp_display_get_image (shell->display),
&xres, &yres);
- return gimp_pixels_to_units (len, gimp_unit_get_factor (shell->unit),
+ return gimp_pixels_to_units (len, shell->unit,
xdir ? xres : yres);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]