gimp r26483 - in trunk: . app/display
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26483 - in trunk: . app/display
- Date: Sun, 10 Aug 2008 11:40:01 +0000 (UTC)
Author: martinn
Date: Sun Aug 10 11:40:00 2008
New Revision: 26483
URL: http://svn.gnome.org/viewvc/gimp?rev=26483&view=rev
Log:
2008-08-10 Martin Nordholts <martinn svn gnome org>
* app/display/gimpdisplayshell-scale.c
(gimp_display_shell_scale_setup): Remove unused local variables sw
and sh.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-scale.c
Modified: trunk/app/display/gimpdisplayshell-scale.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-scale.c (original)
+++ trunk/app/display/gimpdisplayshell-scale.c Sun Aug 10 11:40:00 2008
@@ -89,7 +89,6 @@
gimp_display_shell_scale_setup (GimpDisplayShell *shell)
{
GimpImage *image;
- gfloat sw, sh;
gint image_width;
gint image_height;
@@ -104,17 +103,11 @@
{
image_width = gimp_image_get_width (image);
image_height = gimp_image_get_height (image);
-
- sw = SCALEX (shell, image_width);
- sh = SCALEY (shell, image_height);
}
else
{
image_width = shell->disp_width;
image_height = shell->disp_height;
-
- sw = image_width;
- sh = image_height;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]