diff --git a/src/app/components/playlist/playlist.rs b/src/app/components/playlist/playlist.rs index bf243628..e6e7a12c 100644 --- a/src/app/components/playlist/playlist.rs +++ b/src/app/components/playlist/playlist.rs @@ -73,7 +73,6 @@ pub trait PlaylistModel { pub struct Playlist { animator: AnimatorDefault, listview: gtk::ListView, - _press_gesture: gtk::GestureLongPress, model: Rc, } @@ -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, } } diff --git a/src/app/components/settings/settings.rs b/src/app/components/settings/settings.rs index 13c1a663..ffcb38c6 100644 --- a/src/app/components/settings/settings.rs +++ b/src/app/components/settings/settings.rs @@ -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 {