aboutsummaryrefslogtreecommitdiffstats
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
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 *
-rw-r--r--ChangeLog8
-rw-r--r--lib/ephy-file-helpers.c2
-rw-r--r--lib/ephy-file-helpers.h2
-rw-r--r--src/window-commands.c2
4 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b0d89f0c2..40efefb93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-01-24 Adam Hooper <adamh@cvs.gnome.org>
+
+ * lib/ephy-file-helpers.c:
+ * lib/ephy-file-helpers.h:
+ * src/window-commands.c: (save_temp_source):
+
+ ephy_file_tmp_directory () now returns a const char * instead of char *
+
2004-01-24 Marco Pesenti Gritti <marco@gnome.org>
* configure.in:
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);
diff --git a/src/window-commands.c b/src/window-commands.c
index 06b88cd2f..4d5f6c8dd 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -737,7 +737,7 @@ save_temp_source (EphyEmbed *embed)
char *tmp, *base;
EphyEmbedPersist *persist;
- char *static_temp_dir;
+ const char *static_temp_dir;
static_temp_dir = ephy_file_tmp_directory ();
if (static_temp_dir == NULL)