diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-11-11 12:27:53 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-11-11 12:27:53 +0100 |
commit | 5b7b3b1dfd5ce7c275881098310667b09562ad27 (patch) | |
tree | d2760df372d76da84d901cfc3a20514d5dc73bdf /src/PhotoPage.vala | |
parent | f6062696f6bbd00d4eaa8a6e994dabfefc455f31 (diff) |
New upstream version 0.32.10upstream/0.32.10upstream
Diffstat (limited to 'src/PhotoPage.vala')
-rw-r--r-- | src/PhotoPage.vala | 3 |
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) { |