Skip to content

Commit 4115f76

Browse files
fxriraveit65
authored andcommitted
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
1 parent c3d8c61 commit 4115f76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/eom-image.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,10 @@ eom_image_real_load (EomImage *img,
11501150

11511151
/* Set orientation again for safety, eg. if we don't
11521152
* have Exif data or HAVE_EXIF is undefined. */
1153-
eom_image_set_orientation (img);
1153+
if (priv->autorotate) {
1154+
eom_image_set_orientation (img);
1155+
eom_image_emit_size_prepared (img);
1156+
}
11541157

11551158
} else {
11561159
/* Some loaders don't report errors correctly.

0 commit comments

Comments
 (0)