mod application; use application::{Application}; use gtk::prelude::*; use gtk::{glib, gio}; extern crate libsecret; #[link(name = "audrey")] #[link(name = "gcrypt")] #[link(name = "json-glib-1.0")] #[link(name = "mpv")] #[link(name = "soup-3.0")] extern "C" { } fn main() -> glib::ExitCode { gio::resources_register_include!("audrey.gresource").expect("could not register resources"); gtk::disable_setlocale(); // bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); // bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); // textdomain (GETTEXT_PACKAGE); // setlocale (LC_ALL, ""); // setlocale (LC_NUMERIC, "C.UTF-8"); let app = Application::new(); app.run() }