diff --git a/dialog-gtk3/src/main.rs b/dialog-gtk3/src/main.rs index a49f81e..47a8894 100644 --- a/dialog-gtk3/src/main.rs +++ b/dialog-gtk3/src/main.rs @@ -324,8 +324,7 @@ fn main() -> anyhow::Result<()> { dialog.show_all(); gtk::main(); - - Ok(()) + DialogExitStatus::OtherError.exit(); // We should never get here! } fn set_time_label(label: >k::Label) {