mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
(edit_get_file_name): move from editwidget.c to edit.c.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
dae33eb229
commit
ac41da50ee
@ -4221,3 +4221,11 @@ edit_arg_free (edit_arg_t * arg)
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
const char *
|
||||
edit_get_file_name (const WEdit * edit)
|
||||
{
|
||||
return vfs_path_as_str (edit->filename_vpath);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
@ -1288,14 +1288,6 @@ edit_files (const GList * files)
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
const char *
|
||||
edit_get_file_name (const WEdit * edit)
|
||||
{
|
||||
return vfs_path_as_str (edit->filename_vpath);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
WEdit *
|
||||
edit_find_editor (const WDialog * h)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user