From bcdd3302275c0a73ac8ed338b68111cacf0993ec Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Fri, 29 Nov 2024 20:08:44 -0800 Subject: [PATCH] Removing broken part of monitors example This worked on at least one platform at some point in time, but it appears that at least with the current winit, the extra example would always lead to an event loop error. --- examples/monitors.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/monitors.rs b/examples/monitors.rs index 07c9bb7b6..c90533d91 100644 --- a/examples/monitors.rs +++ b/examples/monitors.rs @@ -1,12 +1,10 @@ use cushy::kludgine::app::{Monitor, Monitors}; use cushy::widget::{MakeWidget, WidgetInstance, WidgetList}; -use cushy::{Application, Open, PendingApp}; +use cushy::Open; fn main() -> cushy::Result { // Monitor information is only available through winit after the application // has started up. - assert!(PendingApp::default().as_app().monitors().is_none()); - cushy::run(|app| { let monitors = app.monitors();