diff --git a/src/ChangeLog b/src/ChangeLog index 6c65ebbaa..785e9b04e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2003-09-07 Pavel Roskin + * dlg.h: Remove DLG_PRE_EVENT, it's unused now. + * main.c (make_panels_dirty): Remove, it's unneded now. (midnight_callback): Don't call make_panels_dirty(). Mark current panel dirty if the search mode is unset. No need to set diff --git a/src/dlg.c b/src/dlg.c index 070ea4ea0..5d13fb5cf 100644 --- a/src/dlg.c +++ b/src/dlg.c @@ -799,7 +799,6 @@ frontend_run_dlg (Dlg_head *h) } update_cursor (h); - (*h->callback) (h, 0, DLG_PRE_EVENT); /* Clear interrupt flag */ got_interrupt (); diff --git a/src/dlg.h b/src/dlg.h index b7c08ec58..df48c0dff 100644 --- a/src/dlg.h +++ b/src/dlg.h @@ -57,7 +57,6 @@ enum { DLG_IDLE, /* The idle state is active */ DLG_UNHANDLED_KEY, /* Key that no widget handled */ DLG_HOTKEY_HANDLED, /* A widget has got the hotkey */ - DLG_PRE_EVENT, /* About to get new event */ DLG_VALIDATE /* Dialog is to be closed */ } /* Dialog_Messages */ ;