diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-09 01:24:42 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:11 +0800 |
commit | 54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch) | |
tree | c62c9ac6d08670dffc400ff00117508512ce4f8b /widgets/misc/e-image-chooser.c | |
parent | fe20f70779fb486169a0735499d24e001ffa0cab (diff) | |
download | gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.bz2 gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.lz gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.xz gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.zip |
Coding style cleanups.
Diffstat (limited to 'widgets/misc/e-image-chooser.c')
-rw-r--r-- | widgets/misc/e-image-chooser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/misc/e-image-chooser.c b/widgets/misc/e-image-chooser.c index 3e9a976c18..e21d1c6c67 100644 --- a/widgets/misc/e-image-chooser.c +++ b/widgets/misc/e-image-chooser.c @@ -96,15 +96,15 @@ set_image_from_data (EImageChooser *chooser, || chooser->priv->image_width < new_width) { /* we need to scale down */ if (new_height > new_width) - scale = (gfloat)chooser->priv->image_height / new_height; + scale = (gfloat) chooser->priv->image_height / new_height; else - scale = (gfloat)chooser->priv->image_width / new_width; + scale = (gfloat) chooser->priv->image_width / new_width; } else { /* we need to scale up */ if (new_height > new_width) - scale = (gfloat)new_height / chooser->priv->image_height; + scale = (gfloat) new_height / chooser->priv->image_height; else - scale = (gfloat)new_width / chooser->priv->image_width; + scale = (gfloat) new_width / chooser->priv->image_width; } if (scale == 1.0) { |