From c7dd6200e8a84285fef271aebf7bcd2b15d4a0d1 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Tue, 29 Nov 2022 07:07:10 -0500 Subject: [PATCH] Fix GTK example --- examples/gtk/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gtk/src/main.rs b/examples/gtk/src/main.rs index ef3f704c4..7b52eb19e 100644 --- a/examples/gtk/src/main.rs +++ b/examples/gtk/src/main.rs @@ -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 fn main() { - _ = create_scope(|cx| { + _ = create_scope(create_runtime(), |cx| { // Create a new application let app = Application::builder().application_id(APP_ID).build();