From 08be9bdb4e2b13c9a97389569d73ff8e8d067501 Mon Sep 17 00:00:00 2001 From: Julian Hofer Date: Sun, 22 Mar 2020 17:50:38 +0100 Subject: [PATCH] Fix broken `window.connect_delete_event` It was never called with the original configuration --- podcasts-gtk/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podcasts-gtk/src/window.rs b/podcasts-gtk/src/window.rs index 3921a88..01175e0 100644 --- a/podcasts-gtk/src/window.rs +++ b/podcasts-gtk/src/window.rs @@ -85,7 +85,7 @@ impl MainWindow { } window.connect_delete_event( - clone!(@weak settings, @weak app => @default-return Inhibit(false), move |window, _| { + clone!(@strong settings, @weak app => @default-return Inhibit(false), move |window, _| { info!("Saving window position"); WindowGeometry::from_window(&window).write(&settings);