cargo: Update and cleanup dependencies
- Replace one remaining use of util::spawn with gio - Replace pretty_env_logger with env_logger Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/149>
This commit is contained in:
parent
52c6f4333d
commit
7bcc5e210b
5 changed files with 226 additions and 281 deletions
|
|
@ -67,7 +67,9 @@ use application::LpApplication;
|
|||
use deps::*;
|
||||
|
||||
fn main() -> glib::ExitCode {
|
||||
pretty_env_logger::init_timed();
|
||||
env_logger::Builder::from_default_env()
|
||||
.format_timestamp_millis()
|
||||
.init();
|
||||
|
||||
setlocale(LocaleCategory::LcAll, "");
|
||||
bindtextdomain("loupe", config::LOCALEDIR).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue