Commit abe89126 authored by Felix Riemann's avatar Felix Riemann
Browse files

EogImage: Make sure to emit size-prepared after applying orientation

Even if the orientation didn't occur by Exif data.
parent 5ae0b28e
......@@ -1200,7 +1200,10 @@ eog_image_real_load (EogImage *img,
/* Set orientation again for safety, eg. if we don't
* have Exif data or HAVE_EXIF is undefined. */
eog_image_set_orientation (img);
if (priv->autorotate) {
eog_image_set_orientation (img);
eog_image_emit_size_prepared (img);
} else {
/* Some loaders don't report errors correctly.
* Error will be set below. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment