aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)