Remove unused parameters from callbacks

This commit is contained in:
Elias Projahn 2025-02-16 16:30:24 +01:00
parent a8c66da52f
commit fca6ce841c
19 changed files with 35 additions and 37 deletions

View file

@ -217,7 +217,7 @@ impl PlayerBar {
}
#[template_callback]
fn previous(&self, _: &gtk::Button) {
fn previous(&self) {
self.player().previous();
}
@ -227,12 +227,12 @@ impl PlayerBar {
}
#[template_callback]
fn next(&self, _: &gtk::Button) {
fn next(&self) {
self.player().next();
}
#[template_callback]
fn play_pause(&self, _: &gtk::Button) {
fn play_pause(&self) {
self.player().play_pause();
}
}