diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2011-09-05 05:34:49 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2011-09-05 05:56:44 +0800 |
commit | 7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1 (patch) | |
tree | 91ebd2a5c9f9a5739d1629cd51454e9bc98472ab /lib/ephy-file-helpers.h | |
parent | 5208e2eab48e8a64912d2f00264b9a6c96c572e0 (diff) | |
download | gsoc2013-epiphany-7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1.tar gsoc2013-epiphany-7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1.tar.gz gsoc2013-epiphany-7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1.tar.bz2 gsoc2013-epiphany-7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1.tar.lz gsoc2013-epiphany-7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1.tar.xz gsoc2013-epiphany-7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1.tar.zst gsoc2013-epiphany-7dafb390f5091bfbf1b5236aebf8e5f33aa0bbf1.zip |
e-file-helpers: implement and use ephy_file_delete_dir_recursively
Move the implementation from ephy-web-app-utils.c to
ephy-file-helpers.c.
The current one was not doing recursive delete, this caused the bug of
private instances leaving their profile directories behind in /tmp.
Bug #658201
Diffstat (limited to 'lib/ephy-file-helpers.h')
-rw-r--r-- | lib/ephy-file-helpers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index 0c5ab9b3d..d36783579 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -83,7 +83,8 @@ gboolean ephy_file_launch_handler (const char *mime_type, guint32 user_time); gboolean ephy_file_browse_to (GFile *file, guint32 user_time); -void ephy_file_delete_directory (const char *path); +gboolean ephy_file_delete_dir_recursively (GFile *file, + GError **error); void ephy_file_delete_uri (const char *uri); void ephy_file_load_accels (void); void ephy_file_save_accels (void); |