From 97c59cb8cda49335ce464dd1bb1c508bc6cc7e2a Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 27 Apr 2019 23:05:27 +0200 Subject: Fix compilation with older pixbuf vapi files --- libdino/src/service/avatar_storage.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdino/src/service/avatar_storage.vala b/libdino/src/service/avatar_storage.vala index a307fe66..d6bdd30e 100644 --- a/libdino/src/service/avatar_storage.vala +++ b/libdino/src/service/avatar_storage.vala @@ -45,7 +45,7 @@ public class AvatarStorage : Xep.PixbufStorage, Object { FileUtils.remove(file.get_path()); } stream.seek(0, SeekType.SET); - return yield new Pixbuf.from_stream_async(stream); + return yield new Pixbuf.from_stream_async(stream, null); } catch (Error e) { return null; } -- cgit v1.2.3-70-g09d2