1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

refactor: fix clippy warnings

This commit is contained in:
Jake Stanger 2025-05-27 13:33:05 +01:00
parent 3c4b6a0fdb
commit b62d0d58cb
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
3 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ impl Ipc {
}); });
cmd_rx.recv_glib(application, move |application, command| { cmd_rx.recv_glib(application, move |application, command| {
let res = Self::handle_command(command, &application, &ironbar); let res = Self::handle_command(command, application, &ironbar);
res_tx.send_spawn(res); res_tx.send_spawn(res);
}); });
} }

View file

@ -498,8 +498,8 @@ impl Module<gtk::Box> for LauncherModule {
appearance_options, appearance_options,
image_provider.clone(), image_provider.clone(),
bar_position, bar_position,
&tx, tx,
&controller_tx, controller_tx,
); );
if self.reversed { if self.reversed {

View file

@ -126,7 +126,7 @@ impl Module<gtk::Box> for TrayModule {
.recv_glib(&container, move |container, update| { .recv_glib(&container, move |container, update| {
on_update( on_update(
update, update,
&container, container,
&mut menus, &mut menus,
&icon_theme, &icon_theme,
self.icon_size, self.icon_size,