(edit_get_file_name): move from editwidget.c to edit.c.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2024-02-23 12:56:48 +03:00
parent dae33eb229
commit ac41da50ee
2 changed files with 8 additions and 8 deletions

View File

@ -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);
}
/* --------------------------------------------------------------------------------------------- */

View File

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