diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:32 +0200 |
commit | 0537caaf4af94a9ead8b292679f6b34c90b55e06 (patch) | |
tree | 6761cfdf959926be7af3147cf770e7f253390fe8 /src/ThumbnailCache.vala | |
parent | eca5837e235a356c8db9416bbbc13577db3e6f76 (diff) | |
parent | 5e9f4eea451a77ba3b93db3747841ed2bd969e9f (diff) |
Update upstream source from tag 'upstream/0.30.1'
Update to upstream version '0.30.1'
with Debian dir dc242531effff8d9c6fab093414edee28b403c6a
Diffstat (limited to 'src/ThumbnailCache.vala')
-rw-r--r-- | src/ThumbnailCache.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ThumbnailCache.vala b/src/ThumbnailCache.vala index f803089..a0b27fd 100644 --- a/src/ThumbnailCache.vala +++ b/src/ThumbnailCache.vala @@ -149,7 +149,7 @@ public class ThumbnailCache : Object { private void generate_thumbnail() throws Error { Photo? photo = source as Photo; if (photo != null) { - unscaled = photo.get_pixbuf(Scaling.for_best_fit(dim.width, true)); + unscaled = photo.get_pixbuf(Scaling.for_best_fit(dim.major_axis(), true)); } else { Video? video = source as Video; if (video != null) |