From a5dde470ecb2f75684311acaf8da144fb4ac780d Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 26 Feb 2001 19:51:56 +0000 Subject: [PATCH] * editcmd.c (edit_delete_macro_cmd) [MIDNIGHT]: Don't use CK_Macro on the argument to edit_delete_macro(). --- gtkedit/ChangeLog | 3 +++ gtkedit/editcmd.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gtkedit/ChangeLog b/gtkedit/ChangeLog index 14499c070..ec208c4c1 100644 --- a/gtkedit/ChangeLog +++ b/gtkedit/ChangeLog @@ -1,5 +1,8 @@ 2001-02-26 Pavel Roskin + * editcmd.c (edit_delete_macro_cmd) [MIDNIGHT]: Don't use + CK_Macro on the argument to edit_delete_macro(). + * edit.c (edit_init_file): Remove, it's useless. All the necessary files should be created when needed. * edit.h: Remove declaration of edit_init_file(). diff --git a/gtkedit/editcmd.c b/gtkedit/editcmd.c index 7465ef83b..38575b352 100644 --- a/gtkedit/editcmd.c +++ b/gtkedit/editcmd.c @@ -759,7 +759,8 @@ void edit_delete_macro_cmd (WEdit * edit) int command; #ifdef MIDNIGHT - command = CK_Macro (edit_raw_key_query (_ (" Delete Macro "), _ (" Press macro hotkey: "), 1)); + command = edit_raw_key_query (_ (" Delete Macro "), + _ (" Press macro hotkey: "), 1); #else /* This heads the 'Delete Macro' dialog box */ #ifdef GTK