diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-09-03 19:54:50 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-09-03 20:18:25 +0800 |
commit | 97d0929cf1691bc029db792e941870948a5e13e5 (patch) | |
tree | 4393c42603aefad9ca9a15e42fe3a2f5b96bfe05 /lib | |
parent | 51a379f461d8bd435054caafe265f102fb05399e (diff) | |
download | gsoc2013-epiphany-97d0929cf1691bc029db792e941870948a5e13e5.tar gsoc2013-epiphany-97d0929cf1691bc029db792e941870948a5e13e5.tar.gz gsoc2013-epiphany-97d0929cf1691bc029db792e941870948a5e13e5.tar.bz2 gsoc2013-epiphany-97d0929cf1691bc029db792e941870948a5e13e5.tar.lz gsoc2013-epiphany-97d0929cf1691bc029db792e941870948a5e13e5.tar.xz gsoc2013-epiphany-97d0929cf1691bc029db792e941870948a5e13e5.tar.zst gsoc2013-epiphany-97d0929cf1691bc029db792e941870948a5e13e5.zip |
ephy-file-helpers: rename KEEP_TEMP_DIR to KEEP_DIR
Since this is also used for persistency of temporary directories, but
also for --profile.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-file-helpers.c | 6 | ||||
-rw-r--r-- | lib/ephy-file-helpers.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index 9e9105d2a..4bbe0c974 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -58,7 +58,7 @@ static GHashTable *files = NULL; static GHashTable *mime_table = NULL; -static gboolean keep_temp_directory = FALSE; /* for debug purposes */ +static gboolean keep_directory = FALSE; static char *dot_dir = NULL; static char *tmp_dir = NULL; static GList *del_on_exit = NULL; @@ -312,7 +312,7 @@ ephy_file_helpers_init (const char *profile_dir, (GDestroyNotify) g_free, (GDestroyNotify) g_free); - keep_temp_directory = flags & EPHY_FILE_HELPERS_KEEP_TEMP_DIR; + keep_directory = flags & EPHY_FILE_HELPERS_KEEP_DIR; private_profile = flags & EPHY_FILE_HELPERS_PRIVATE_PROFILE; if (private_profile && profile_dir != NULL) @@ -385,7 +385,7 @@ ephy_file_helpers_shutdown (void) if (tmp_dir != NULL) { - if (!keep_temp_directory) + if (!keep_directory) { GFile *tmp_dir_file; tmp_dir_file = g_file_new_for_path (tmp_dir); diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index 4b7b8e21d..bf52f75b6 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -45,7 +45,7 @@ typedef enum typedef enum { EPHY_FILE_HELPERS_NONE = 0, - EPHY_FILE_HELPERS_KEEP_TEMP_DIR = 1 << 1, + EPHY_FILE_HELPERS_KEEP_DIR = 1 << 1, EPHY_FILE_HELPERS_PRIVATE_PROFILE = 1 << 2, EPHY_FILE_HELPERS_ENSURE_EXISTS = 1 << 3, } EphyFileHelpersFlags; |