This commit is contained in:
Erica Z 2024-11-19 22:12:12 +01:00
parent 411e690e65
commit 46231c8012

View file

@ -92,7 +92,7 @@ mod imp {
impl AlbumCarousel { impl AlbumCarousel {
fn model(&self) -> &gio::ListStore { fn model(&self) -> &gio::ListStore {
self.model self.model
.get_or_init(|| gio::ListStore::new::<crate::model::Album>()) .get_or_init(gio::ListStore::new::<crate::model::Album>)
} }
fn update_model(&self) { fn update_model(&self) {