Update rust dependencies

This commit is contained in:
Christopher Davis 2021-08-17 20:37:04 -07:00
parent 73188840ae
commit 1841789525
4 changed files with 584 additions and 99 deletions

View file

@ -34,8 +34,8 @@ fn main() {
pretty_env_logger::init();
setlocale(LocaleCategory::LcAll, "");
bindtextdomain("gnome-image-viewer", config::LOCALEDIR);
textdomain("gnome-image-viewer");
bindtextdomain("gnome-image-viewer", config::LOCALEDIR).unwrap();
textdomain("gnome-image-viewer").unwrap();
let res = gio::Resource::load(config::PKGDATADIR.to_owned() + "/gnome-image-viewer.gresource")
.expect("Could not load resources");