Skip to content


EomImage: Fix too early size-prepared emission
Browse files Browse the repository at this point in the history
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.

origin commit:
  • Loading branch information
fxri authored and raveit65 committed Jul 23, 2018
1 parent 5f6f184 commit c3d8c61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/eom-image.c
Expand Up @@ -1032,8 +1032,6 @@ eom_image_real_load (EomImage *img,

eom_image_emit_size_prepared (img);

priv->metadata_status = EOM_IMAGE_METADATA_NOT_AVAILABLE;

Expand Down

0 comments on commit c3d8c61

Please sign in to comment.