Small refinements, handling of unwraps, addin of TODOs and other Notes.

This commit is contained in:
Jordan Petridis
2017-10-19 17:22:17 +03:00
parent 70d1f44147
commit 590e99b7e8
9 changed files with 22 additions and 32 deletions
+1
View File
@@ -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();
+1 -1
View File
@@ -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
}