feat(main): main function is async now
This commit is contained in:
parent
b7b890ecb3
commit
0aab9e9ebe
|
@ -9,7 +9,8 @@ mod view;
|
||||||
use controller::*;
|
use controller::*;
|
||||||
use view::view::*;
|
use view::view::*;
|
||||||
|
|
||||||
fn main() {
|
#[tokio::main]
|
||||||
|
async fn main() {
|
||||||
let app: adw::Application = adw::Application::builder()
|
let app: adw::Application = adw::Application::builder()
|
||||||
.application_id("com.github.gtk-rs.examples.basic")
|
.application_id("com.github.gtk-rs.examples.basic")
|
||||||
.build();
|
.build();
|
||||||
|
|
Loading…
Reference in New Issue