diff --git a/src/view/graph_view.rs b/src/view/graph_view.rs index 07f4e32..7261086 100644 --- a/src/view/graph_view.rs +++ b/src/view/graph_view.rs @@ -78,7 +78,6 @@ mod imp { fn snapshot(&self, widget: &Self::Type, snapshot: >k::Snapshot) { /* FIXME: A lot of hardcoded values in here. Try to use relative units (em) and colours from the theme as much as possible. */ - let snapshot = snapshot.downcast_ref::().unwrap(); let alloc = widget.get_allocation();