mirror of https://github.com/GNOME/gimp.git
Remove unused local variables sw and sh.
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. svn path=/trunk/; revision=26483
This commit is contained in:
parent
4bbe4c81b8
commit
c023ac02f9
|
@ -1,3 +1,9 @@
|
|||
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.
|
||||
|
||||
2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/display/gimpdisplayshell-scroll.[ch]: Renamed
|
||||
|
|
|
@ -89,7 +89,6 @@ void
|
|||
gimp_display_shell_scale_setup (GimpDisplayShell *shell)
|
||||
{
|
||||
GimpImage *image;
|
||||
gfloat sw, sh;
|
||||
gint image_width;
|
||||
gint image_height;
|
||||
|
||||
|
@ -104,17 +103,11 @@ gimp_display_shell_scale_setup (GimpDisplayShell *shell)
|
|||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue