From 143bfc9f801c84428074312d661f8e08803df83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Aug 2016 15:09:31 +0200 Subject: Imported Upstream version 0.23.5 --- src/photos/GRaw.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/photos/GRaw.vala') diff --git a/src/photos/GRaw.vala b/src/photos/GRaw.vala index 53c328c..ec1df8d 100644 --- a/src/photos/GRaw.vala +++ b/src/photos/GRaw.vala @@ -125,7 +125,8 @@ public class ProcessedImage { // to be decoded before being useful. This will throw an error if the format is not // supported try { - pixbuf = new Gdk.Pixbuf.from_stream(new MemoryInputStream.from_data(image.data, null), + var bytes = new Bytes.static (image.data); + pixbuf = new Gdk.Pixbuf.from_stream(new MemoryInputStream.from_bytes(bytes), null); } catch (Error err) { throw new Exception.UNSUPPORTED_THUMBNAIL(err.message); -- cgit v1.2.3