diff --git a/gtkedit/ChangeLog b/gtkedit/ChangeLog index 4ce0a2403..14499c070 100644 --- a/gtkedit/ChangeLog +++ b/gtkedit/ChangeLog @@ -1,3 +1,9 @@ +2001-02-26 Pavel Roskin + + * 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(). + 2000-11-01 Andrew V. Samoilov * editcmd.c (canonicalize_pathname) [GTK]: memory leaking fixed diff --git a/gtkedit/edit.c b/gtkedit/edit.c index 8263447f9..8e6545dcd 100644 --- a/gtkedit/edit.c +++ b/gtkedit/edit.c @@ -2797,13 +2797,3 @@ void user_menu (WEdit *edit) edit->force |= REDRAW_COMPLETELY; return; } - -void edit_init_file() -{ - FILE *f; - - if ((f = fopen (catstrs (home_dir, ERROR_FILE, 0), "w"))) fclose(f); - if ((f = fopen (catstrs (home_dir, BLOCK_FILE, 0), "w"))) fclose(f); - if ((f = fopen (catstrs (home_dir, TEMP_FILE, 0) , "w"))) fclose(f); - return; -} diff --git a/gtkedit/edit.h b/gtkedit/edit.h index 601e2bb0a..8c1646183 100644 --- a/gtkedit/edit.h +++ b/gtkedit/edit.h @@ -458,7 +458,6 @@ void book_mark_inc (WEdit * edit, int line); void book_mark_dec (WEdit * edit, int line); void user_menu (WEdit *edit); -void edit_init_file(); #ifdef MIDNIGHT