print: Use new GTK API
This commit is contained in:
parent
730f8af17f
commit
c15e73274e
5 changed files with 156 additions and 185 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue