From 4115f76df9da09cecdf44f0be95b6f8ea3793060 Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Sun, 17 May 2015 17:28:50 +0200 Subject: 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 --- src/eom-image.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.2.1