shows_view: remove reduntant import

This commit is contained in:
Jordan Petridis 2019-10-20 20:14:11 +03:00
parent 6d3d4c8339
commit 982cb13e7e
No known key found for this signature in database
GPG Key ID: E8523968931763BE

View File

@ -99,8 +99,6 @@ fn populate_flowbox(shows: &Rc<ShowsView>, vadj: Option<Adjustment>) -> Result<(
} }
fn on_child_activate(child: &gtk::FlowBoxChild, sender: &Sender<Action>) -> Result<(), Error> { fn on_child_activate(child: &gtk::FlowBoxChild, sender: &Sender<Action>) -> Result<(), Error> {
use gtk::WidgetExt;
// This is such an ugly hack... // This is such an ugly hack...
let id = WidgetExt::get_name(child) let id = WidgetExt::get_name(child)
.ok_or_else(|| format_err!("Failed to get \"episodes\" child from the stack."))? .ok_or_else(|| format_err!("Failed to get \"episodes\" child from the stack."))?