summaryrefslogtreecommitdiff
path: root/src/PhotoPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-12-17 19:58:57 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-12-17 19:58:57 +0100
commit270fbc11b9744b76bcc52a3cf58fe896d7352724 (patch)
treefb359e210d2d9c30f5ad36a447ea29b62ae9bb56 /src/PhotoPage.vala
parent841f952294b349b2b8e2afb5305ce34a3b59bb4b (diff)
parent4cb46f4de4b881e5b1f65af017dca6f3917e55e5 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/PhotoPage.vala')
-rw-r--r--src/PhotoPage.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PhotoPage.vala b/src/PhotoPage.vala
index a279d89..5e94c24 100644
--- a/src/PhotoPage.vala
+++ b/src/PhotoPage.vala
@@ -966,7 +966,7 @@ public abstract class EditingHostPage : SinglePhotoPage {
return photo.has_transformations() || photo.has_editable();
}
- private void on_pixbuf_fetched(Photo photo, Gdk.Pixbuf? pixbuf, Error? err) {
+ private void on_pixbuf_fetched(Photo photo, owned Gdk.Pixbuf? pixbuf, Error? err) {
// if not of the current photo, nothing more to do
if (!photo.equals(get_photo()))
return;
@@ -986,7 +986,7 @@ public abstract class EditingHostPage : SinglePhotoPage {
photo, out tool_pixbuf_dim);
if (tool_pixbuf != null) {
- pixbuf = tool_pixbuf;
+ pixbuf = tool_pixbuf;
max_dim = tool_pixbuf_dim;
}
} catch(Error err) {
@@ -1410,7 +1410,7 @@ public abstract class EditingHostPage : SinglePhotoPage {
Gdk.Pixbuf original;
try {
original = get_photo().get_original_orientation().rotate_pixbuf(
- get_photo().get_prefetched_copy());
+ get_photo().get_master_pixbuf(cache.get_scaling()));
} catch (Error err) {
return;
}