Skip to content
Permalink
Browse files

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...
Felix Riemann authored and raveit65 committed May 17, 2015
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.
You can’t perform that action at this time.