Fix GTK example
This commit is contained in:
parent
5f58db40f0
commit
c7dd6200e8
|
@ -6,7 +6,7 @@ const APP_ID: &str = "dev.leptos.Counter";
|
||||||
|
|
||||||
// Basic GTK app setup from https://gtk-rs.org/gtk4-rs/stable/latest/book/hello_world.html
|
// Basic GTK app setup from https://gtk-rs.org/gtk4-rs/stable/latest/book/hello_world.html
|
||||||
fn main() {
|
fn main() {
|
||||||
_ = create_scope(|cx| {
|
_ = create_scope(create_runtime(), |cx| {
|
||||||
// Create a new application
|
// Create a new application
|
||||||
let app = Application::builder().application_id(APP_ID).build();
|
let app = Application::builder().application_id(APP_ID).build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue