Commit 66568e94 authored by Jens Georg's avatar Jens Georg

Push empty pixbuf to force repaint of viewer

Otherwise the message that the photo isn't available will never be painted
Signed-off-by: Jens Georg's avatarJens Georg <mail@jensge.org>

https://bugzilla.gnome.org/show_bug.cgi?id=766338
parent e74f1ba3
......@@ -1136,6 +1136,7 @@ public abstract class EditingHostPage : SinglePhotoPage {
set_pixbuf(pixbuf, photo.get_dimensions());
} catch (GLib.Error err) {
set_pixbuf(new Gdk.Pixbuf(Gdk.Colorspace.RGB, false, 8, 1, 1), photo.get_dimensions());
warning("%s", err.message);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment