aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Hooper <adamh@src.gnome.org>2004-01-25 04:08:35 +0800
committerAdam Hooper <adamh@src.gnome.org>2004-01-25 04:08:35 +0800
commite46ddcebde16fb081aa4653939f796970a083c49 (patch)
tree0b8d5555058cbda8a96ddbd1ac8ce2994a5a947f /lib
parent31e1476e3f87dc7f6fb75fe3d6e8d2b16bef2a0b (diff)
downloadgsoc2013-epiphany-e46ddcebde16fb081aa4653939f796970a083c49.tar
gsoc2013-epiphany-e46ddcebde16fb081aa4653939f796970a083c49.tar.gz
gsoc2013-epiphany-e46ddcebde16fb081aa4653939f796970a083c49.tar.bz2
gsoc2013-epiphany-e46ddcebde16fb081aa4653939f796970a083c49.tar.lz
gsoc2013-epiphany-e46ddcebde16fb081aa4653939f796970a083c49.tar.xz
gsoc2013-epiphany-e46ddcebde16fb081aa4653939f796970a083c49.tar.zst
gsoc2013-epiphany-e46ddcebde16fb081aa4653939f796970a083c49.zip
Make ephy_file_tmp_directory() return a const char * instead of a char *
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-file-helpers.c2
-rw-r--r--lib/ephy-file-helpers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index db988a2e3..f58ac40e0 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -38,7 +38,7 @@ static char *dot_dir = NULL;
static char *tmp_dir = NULL;
static GList *del_on_exit = NULL;
-char *
+const char *
ephy_file_tmp_directory (void)
{
if (tmp_dir == NULL)
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h
index 3366af330..2785b6cfa 100644
--- a/lib/ephy-file-helpers.h
+++ b/lib/ephy-file-helpers.h
@@ -34,7 +34,7 @@ void ephy_file_helpers_init (void);
void ephy_file_helpers_shutdown (void);
-char *ephy_file_tmp_directory (void);
+const char *ephy_file_tmp_directory (void);
char *ephy_file_tmp_filename (const char *base,
const char *extension);