diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-02 06:23:40 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-02 06:23:40 +0800 |
commit | 9634666fca1347da1378ebbe574cb879f3fc474e (patch) | |
tree | 183d82d4ea6c0af306c01b8a14de8ba7e1f1afa8 | |
parent | 61230561ce082a5f604201748caa7942668ec46a (diff) | |
download | gsoc2013-evolution-9634666fca1347da1378ebbe574cb879f3fc474e.tar gsoc2013-evolution-9634666fca1347da1378ebbe574cb879f3fc474e.tar.gz gsoc2013-evolution-9634666fca1347da1378ebbe574cb879f3fc474e.tar.bz2 gsoc2013-evolution-9634666fca1347da1378ebbe574cb879f3fc474e.tar.lz gsoc2013-evolution-9634666fca1347da1378ebbe574cb879f3fc474e.tar.xz gsoc2013-evolution-9634666fca1347da1378ebbe574cb879f3fc474e.tar.zst gsoc2013-evolution-9634666fca1347da1378ebbe574cb879f3fc474e.zip |
This needs to return a const char * and not a char *, because we're not
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.
svn path=/trunk/; revision=5173
-rw-r--r-- | composer/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 2 | ||||
-rw-r--r-- | composer/e-msg-composer.h | 2 |
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); |