* dlg.h (send_message): Use cb_ret_t and widget_msg_t.

This commit is contained in:
Pavel Roskin 2003-09-10 23:58:37 +00:00
parent 738044481c
commit c847c91d61
2 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -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);