aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-04-27 23:05:27 +0200
committerfiaxh <git@lightrise.org>2019-04-27 23:05:27 +0200
commit97c59cb8cda49335ce464dd1bb1c508bc6cc7e2a (patch)
treef2b473106eb983d5ff004b1e1b3ac4d4e099828c /libdino
parentb6799e59bb9cc2ea511b0f19aab88a83c244dda8 (diff)
downloaddino-97c59cb8cda49335ce464dd1bb1c508bc6cc7e2a.tar.gz
dino-97c59cb8cda49335ce464dd1bb1c508bc6cc7e2a.zip
Fix compilation with older pixbuf vapi files
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/service/avatar_storage.vala2
1 files changed, 1 insertions, 1 deletions
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;
}