Fix compilation with older pixbuf vapi files

This commit is contained in:
fiaxh 2019-04-27 23:05:27 +02:00
parent b6799e59bb
commit 97c59cb8cd

View file

@ -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;
}