diff options
author | Felix Riemann <[email protected]> | 2015-05-17 16:18:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-07-23 23:08:53 +0200 |
commit | c3d8c61d2be752f91c7007a5b149052b2bfb7237 (patch) | |
tree | 1c9d5ae30d7ae29b12cc44b8cafb0a76205048e4 /src | |
parent | 5f6f184f514349e682de4a4150a095a219fe89f4 (diff) | |
download | eom-c3d8c61d2be752f91c7007a5b149052b2bfb7237.tar.bz2 eom-c3d8c61d2be752f91c7007a5b149052b2bfb7237.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-image.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eom-image.c b/src/eom-image.c index 6922923..d4aa95a 100644 --- a/src/eom-image.c +++ b/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; } |