Small refinements, handling of unwraps, addin of TODOs and other Notes.
This commit is contained in:
@@ -73,6 +73,7 @@ fn epidose_widget(
|
||||
}
|
||||
|
||||
pub fn episodes_listbox(connection: Arc<Mutex<SqliteConnection>>, pd_title: &str) -> gtk::ListBox {
|
||||
// TODO: handle unwraps.
|
||||
let m = connection.lock().unwrap();
|
||||
let pd = dbqueries::load_podcast(&m, pd_title).unwrap();
|
||||
let mut episodes = dbqueries::get_pd_episodes(&m, &pd).unwrap();
|
||||
|
||||
@@ -66,7 +66,7 @@ pub fn create_flowbox_child(title: &str, cover: Option<Pixbuf>) -> gtk::FlowBoxC
|
||||
|
||||
let fbc = gtk::FlowBoxChild::new();
|
||||
fbc.add(&box_);
|
||||
info!("flowbox child created");
|
||||
// info!("flowbox child created");
|
||||
fbc
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user