Skip to content

Commit c3d8c61

Browse files
fxriraveit65
authored andcommitted
EomImage: Fix too early size-prepared emission
If an image without metadata support is loaded it could happen that the size-prepared signal was emitted without knowing the actual image size. That resulted in a smaller than necessary window size. Remove unneeded emission since the loader will make sure to emit the signal once the size is known. https://bugzilla.gnome.org/show_bug.cgi?id=748598 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/5ae0b28
1 parent 5f6f184 commit c3d8c61

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎src/eom-image.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,8 +1032,6 @@ eom_image_real_load (EomImage *img,
10321032
break;
10331033
}
10341034

1035-
eom_image_emit_size_prepared (img);
1036-
10371035
priv->metadata_status = EOM_IMAGE_METADATA_NOT_AVAILABLE;
10381036
}
10391037

0 commit comments

Comments
 (0)