shows_view: remove reduntant import
This commit is contained in:
parent
6d3d4c8339
commit
982cb13e7e
@ -99,8 +99,6 @@ fn populate_flowbox(shows: &Rc<ShowsView>, vadj: Option<Adjustment>) -> Result<(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn on_child_activate(child: >k::FlowBoxChild, sender: &Sender<Action>) -> Result<(), Error> {
|
fn on_child_activate(child: >k::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."))?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user