From fceec319714320aa8c8ffc57c9e50deb4b93f540 Mon Sep 17 00:00:00 2001 From: Sophie Herold Date: Mon, 4 Dec 2023 18:08:44 +0100 Subject: [PATCH] print: Remove obsolete callback code --- src/widgets/print.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/widgets/print.rs b/src/widgets/print.rs index 6c0c762..4458dbb 100644 --- a/src/widgets/print.rs +++ b/src/widgets/print.rs @@ -271,7 +271,6 @@ mod imp { fn class_init(klass: &mut Self::Class) { Self::bind_template(klass); - Self::Type::bind_template_callbacks(klass); klass.install_action("print.print", None, |print, _, _| { print.print(); @@ -478,7 +477,6 @@ glib::wrapper! { @implements gtk::Buildable, gtk::ConstraintTarget; } -#[gtk::template_callbacks] impl LpPrint { pub fn new( image: LpImage,