diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-09-10 13:06:38 +0200 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-09-10 17:04:04 +0200 |
commit | 6e6df39c03355307484b81c73a6812eb1ba28bc7 (patch) | |
tree | bc81f9595698081f30af335febe694bbc8b2d11c /lib/ephy-file-helpers.h | |
parent | 91b17b84738f666579fbfd7aa722680b9a90a1d6 (diff) | |
download | epiphany-6e6df39c03355307484b81c73a6812eb1ba28bc7.tar.gz |
ephy-file-helpers: Add ephy_sanitize_filename()
To convert any possible directory separator into an underscore.
https://bugzilla.gnome.org/show_bug.cgi?id=683711
Diffstat (limited to 'lib/ephy-file-helpers.h')
-rw-r--r-- | lib/ephy-file-helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index f7564b55b..fc50c638d 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -91,6 +91,7 @@ gboolean ephy_file_delete_dir_recursively (GFile *file, void ephy_file_delete_uri (const char *uri); char * ephy_file_create_data_uri_for_filename (const char *filename, const char *mime_type); +char * ephy_sanitize_filename (char *filename); G_END_DECLS |