diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-20 15:11:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-20 15:11:08 +0200 |
commit | cb612a12b952e349b96d427645aaeb55d15f509a (patch) | |
tree | f29298f41d2a7ea2a976616243aca64c2c2547ce /src/photos/GRaw.vala | |
parent | e7be93745e4a2ff3aa255227bef7b9d3b733aafa (diff) | |
parent | 143bfc9f801c84428074312d661f8e08803df83b (diff) |
Merge tag 'upstream/0.23.5'
Upstream version 0.23.5
Diffstat (limited to 'src/photos/GRaw.vala')
-rw-r--r-- | src/photos/GRaw.vala | 3 |
1 files changed, 2 insertions, 1 deletions
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); |