Skip to content
Browse files
EomImage: Make sure to emit size-prepared after applying orientation
Even if the orientation didn't occur by Exif data.

origin commit:
  • Loading branch information
fxri authored and raveit65 committed Jul 23, 2018
1 parent c3d8c61 commit 4115f76df9da09cecdf44f0be95b6f8ea3793060
Showing with 4 additions and 1 deletion.
  1. +4 −1 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.

0 comments on commit 4115f76

Please sign in to comment.