From e46ddcebde16fb081aa4653939f796970a083c49 Mon Sep 17 00:00:00 2001 From: Adam Hooper Date: Sat, 24 Jan 2004 20:08:35 +0000 Subject: Make ephy_file_tmp_directory() return a const char * instead of a char * --- lib/ephy-file-helpers.c | 2 +- lib/ephy-file-helpers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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); -- cgit v1.2.3