summaryrefslogtreecommitdiff
path: root/src/PhotoPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:23 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:23 +0100
commit483b2e960f24c370d9e0260ab4ba8b3453408590 (patch)
treeec5e83ac39e4e5cec0ab9494da2d0edaafe72d89 /src/PhotoPage.vala
parent1bbf886bafc680c56ddd5e27ddd803b4e03685df (diff)
parentcb001bb8056869f98e9a62248bdd509a69d08faf (diff)
Merge branch 'feature/upstrem' into develop
Diffstat (limited to 'src/PhotoPage.vala')
-rw-r--r--src/PhotoPage.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PhotoPage.vala b/src/PhotoPage.vala
index 5e94c24..a28ab44 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, owned Gdk.Pixbuf? pixbuf, Error? err) {
+ private void on_pixbuf_fetched(Photo photo, Gdk.Pixbuf? pixbuf, Error? err) {
// if not of the current photo, nothing more to do
if (!photo.equals(get_photo()))
return;
@@ -987,6 +987,7 @@ public abstract class EditingHostPage : SinglePhotoPage {
if (tool_pixbuf != null) {
pixbuf = tool_pixbuf;
+ pixbuf.ref();
max_dim = tool_pixbuf_dim;
}
} catch(Error err) {