feat: init adwaita

This commit is contained in:
Ashley Wulber 2022-08-10 10:48:20 -04:00
parent d03966ae42
commit d9212b2285
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
23 changed files with 85 additions and 10 deletions

View file

@ -20,6 +20,7 @@ relm4 = { git = "https://github.com/relm4/relm4", branch = "next", features = ["
relm4-macros = { git = "https://github.com/relm4/relm4", branch = "next" }
once_cell = "1.10.0"
gtk4 = { git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_2"] }
adw = { git = "https://gitlab.gnome.org/World/Rust/libadwaita-rs", package = "libadwaita"}
async-io = "1.6.0"
[features]

View file

@ -36,6 +36,8 @@ use tokio::runtime::Runtime;
static RT: Lazy<Runtime> = Lazy::new(|| Runtime::new().expect("failed to build tokio runtime"));
fn main() {
let _ = gtk4::init();
adw::init();
let application = Application::new(
None,
ApplicationFlags::default(),