print: Code cleanup

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240>
This commit is contained in:
Sophie Herold 2023-07-29 18:29:09 +02:00 • committed by Christopher Davis
parent 2fac5e6c43
commit 172ce9d976
3 changed files with 48 additions and 39 deletions

View file

@ -700,7 +700,7 @@ impl LpImageView {
.downcast_ref::<gtk::Window>()
.context("Could not downcast to GtkWindow")?;
LpPrint::new(image, window.clone(), None, None).run();
LpPrint::new(image, window.clone(), None, None).run()?;
Ok(())
}