summaryrefslogtreecommitdiffstats
path: root/src/app/panel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/panel.rs')
-rw-r--r--src/app/panel.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/app/panel.rs b/src/app/panel.rs
index 0411e49..9a2757d 100644
--- a/src/app/panel.rs
+++ b/src/app/panel.rs
@@ -13,7 +13,6 @@ use {
errors::ProgramError,
keys::KEY_FORMAT,
skin::PanelSkin,
- stage::*,
task_sync::Dam,
verb::*,
},
@@ -109,12 +108,12 @@ impl Panel {
/// in the dam
pub fn do_pending_task(
&mut self,
- stage: &Stage,
+ app_state: &mut AppState,
screen: Screen,
con: &AppContext,
dam: &mut Dam,
- ) {
- self.mut_state().do_pending_task(stage, screen, con, dam)
+ ) -> Result<(), ProgramError> {
+ self.mut_state().do_pending_task(app_state, screen, con, dam)
}
pub fn has_pending_task(&self) -> bool {