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:
parent
3c4b6a0fdb
commit
b62d0d58cb
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue