mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* dlg.h (send_message): Use cb_ret_t and widget_msg_t.
This commit is contained in:
parent
738044481c
commit
c847c91d61
@ -1,5 +1,7 @@
|
||||
2003-09-10 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* dlg.h (send_message): Use cb_ret_t and widget_msg_t.
|
||||
|
||||
* main.c (menu_cmd): If the current panel is inactive, use the
|
||||
opposite side to start menu.
|
||||
|
||||
|
@ -183,10 +183,10 @@ void common_dialog_repaint (struct Dlg_head *h);
|
||||
|
||||
extern Dlg_head *current_dlg;
|
||||
|
||||
static inline int
|
||||
send_message (Widget *w, int Msg, int Par)
|
||||
static inline cb_ret_t
|
||||
send_message (Widget *w, widget_msg_t msg, int parm)
|
||||
{
|
||||
return (*(w->callback))(w, Msg, Par);
|
||||
return (*(w->callback)) (w, msg, parm);
|
||||
}
|
||||
|
||||
void dlg_replace_widget (Dlg_head *h, Widget *old, Widget *new);
|
||||
|
Loading…
Reference in New Issue
Block a user