Skip to content

Commit

Permalink
missing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xou816 committed Feb 12, 2023
1 parent a737967 commit 3398418
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/app/components/playlist/playlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ pub trait PlaylistModel {
pub struct Playlist<Model> {
animator: AnimatorDefault,
listview: gtk::ListView,
_press_gesture: gtk::GestureLongPress,
model: Rc<Model>,
}

Expand Down Expand Up @@ -134,12 +133,11 @@ where
press_gesture.connect_pressed(clone!(@weak model => move |_, _, _| {
model.enable_selection();
}));
listview.add_controller(press_gesture.clone()); //FIXME
listview.add_controller(press_gesture);

Self {
animator: AnimatorDefault::ease_in_out_animator(),
listview,
_press_gesture: press_gesture,
model,
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/settings/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl SettingsWindow {

audio_backend
.bind_property("selected", alsa_device_row, "visible")
.transform_to(|_, value: u32| Some(value == 1)) //FIXME
.transform_to(|_, value: u32| Some(value == 1))
.build();

if audio_backend.selected() == 0 {
Expand Down

0 comments on commit 3398418

Please sign in to comment.