summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eom-image.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index d4aa95a..9011138 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -1150,7 +1150,10 @@ eom_image_real_load (EomImage *img,
/* Set orientation again for safety, eg. if we don't
* have Exif data or HAVE_EXIF is undefined. */
- eom_image_set_orientation (img);
+ if (priv->autorotate) {
+ eom_image_set_orientation (img);
+ eom_image_emit_size_prepared (img);
+ }
} else {
/* Some loaders don't report errors correctly.