Skip to content
Permalink
Browse files

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
  • Loading branch information...
Felix Riemann authored and raveit65 committed May 17, 2015
1 parent 5f6f184 commit c3d8c61d2be752f91c7007a5b149052b2bfb7237
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/eom-image.c
@@ -1032,8 +1032,6 @@ eom_image_real_load (EomImage *img,
break;
}

eom_image_emit_size_prepared (img);

priv->metadata_status = EOM_IMAGE_METADATA_NOT_AVAILABLE;
}

0 comments on commit c3d8c61

Please sign in to comment.
You can’t perform that action at this time.