aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c2
-rw-r--r--composer/e-msg-composer.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 91f4f2dee6..1179d16b61 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-01 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
+ return a const char * and not a char *, because we're not actually
+ allocating memory here.
+
2000-08-28 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Always
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 4329731d08..2441ff4f78 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1719,7 +1719,7 @@ e_msg_composer_set_sig_file (EMsgComposer *composer, const char *sig_file)
*
* Return value: The signature file.
**/
-char *
+const char *
e_msg_composer_get_sig_file (EMsgComposer *composer)
{
g_return_val_if_fail (composer != NULL, NULL);
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index 3e9be58891..aee35e04a5 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -105,7 +105,7 @@ CamelMimeMessage *e_msg_composer_get_message (EMsgComposer *composer);
void e_msg_composer_set_sig_file (EMsgComposer *composer,
const char *sig_file);
-char *e_msg_composer_get_sig_file (EMsgComposer *composer);
+const char *e_msg_composer_get_sig_file (EMsgComposer *composer);
void e_msg_composer_set_send_html (EMsgComposer *composer,
gboolean send_html);