diff --git a/gtkedit/ChangeLog b/gtkedit/ChangeLog index aae7a9180..606bf1a34 100644 --- a/gtkedit/ChangeLog +++ b/gtkedit/ChangeLog @@ -1,5 +1,9 @@ 2001-06-15 Pavel Roskin + * editmenu.c (edit_wrap_cmd): Fix declaration. + (edit_about_cmd): Likewise. + * editwidget.c (get_key_state): Likewise. + * editcmd.c (edit_quit_cmd): Don't use strcmp on the result of gtk_dialog_cauldron() since it's NULL if the dialog has been closed without using buttons. diff --git a/gtkedit/editmenu.c b/gtkedit/editmenu.c index 5038fd9dd..11c13525e 100644 --- a/gtkedit/editmenu.c +++ b/gtkedit/editmenu.c @@ -56,7 +56,7 @@ static void menu_key (int i) send_message (wedit->widget.parent, (Widget *) wedit, WIDGET_KEY, i); } -void edit_wrap_cmd () +void edit_wrap_cmd (void) { char *f; char s[12]; @@ -71,7 +71,7 @@ void edit_wrap_cmd () } } -void edit_about_cmd () +void edit_about_cmd (void) { edit_message_dialog (wedit->mainid, 20, 20, _(" About "), _("\n" diff --git a/gtkedit/editwidget.c b/gtkedit/editwidget.c index 4798a7e2d..cf06f8943 100644 --- a/gtkedit/editwidget.c +++ b/gtkedit/editwidget.c @@ -1152,7 +1152,7 @@ void edit_labels (WEdit * edit) } -long get_key_state () +long get_key_state (void) { return (long) get_modifier (); }