Fix compilation with older pixbuf vapi files
This commit is contained in:
parent
b6799e59bb
commit
97c59cb8cd
|
@ -45,7 +45,7 @@ public class AvatarStorage : Xep.PixbufStorage, Object {
|
||||||
FileUtils.remove(file.get_path());
|
FileUtils.remove(file.get_path());
|
||||||
}
|
}
|
||||||
stream.seek(0, SeekType.SET);
|
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) {
|
} catch (Error e) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue