Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
EomImage: Make sure to emit size-prepared after applying orientation
Even if the orientation didn't occur by Exif data.

https://bugzilla.gnome.org/show_bug.cgi?id=748598

origin commit:
https://gitlab.gnome.org/GNOME/eog/commit/abe8912
  • Loading branch information
fxri authored and raveit65 committed Jul 23, 2018
1 parent c3d8c61 commit 4115f76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/eom-image.c
Expand Up @@ -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.
Expand Down

0 comments on commit 4115f76

Please sign in to comment.