print: Use new GTK API

This commit is contained in:
Sophie Herold 2024-05-14 22:48:45 +02:00
parent 730f8af17f
commit c15e73274e
5 changed files with 156 additions and 185 deletions

View file

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