diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-11-02 12:13:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-11-02 12:13:17 +0800 |
commit | 18cee24a50b93f4b6b7c053a54a1ec90bf22b69e (patch) | |
tree | eba6dd675312f97d9aa5e91b3fa751062773085b | |
parent | f665251bcf9820840d406d096358034178e1ab40 (diff) | |
download | gsoc2013-evolution-18cee24a50b93f4b6b7c053a54a1ec90bf22b69e.tar.gz gsoc2013-evolution-18cee24a50b93f4b6b7c053a54a1ec90bf22b69e.tar.zst gsoc2013-evolution-18cee24a50b93f4b6b7c053a54a1ec90bf22b69e.zip |
fmt argument should be const.
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* mail-threads.c (mail_op_set_message): fmt argument should be
const.
svn path=/trunk/; revision=6343
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-threads.c | 2 | ||||
-rw-r--r-- | mail/mail-threads.h | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index c1beb752d4..f9eaf33960 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> + + * mail-threads.c (mail_op_set_message): fmt argument should be + const. + 2000-11-01 Dan Winship <danw@helixcode.com> Make "Get Mail" even more functional on IMAP (scans all folders), @@ -105,7 +110,7 @@ strdup'ing the content? This seems to fix the memory corruption problems. (mail_generate_reply): Make sure that the last char in the - generated reply text is '\0' (when bodt text doesn't end with a + generated reply text is '\0' (when body text doesn't end with a \n, a random char will appear otherwise). 2000-10-31 Dan Winship <danw@helixcode.com> diff --git a/mail/mail-threads.c b/mail/mail-threads.c index d37d55ed90..fae28cbcfb 100644 --- a/mail/mail-threads.c +++ b/mail/mail-threads.c @@ -394,7 +394,7 @@ mail_op_show_progressbar (void) **/ void -mail_op_set_message (gchar * fmt, ...) +mail_op_set_message (const gchar *fmt, ...) { com_msg_t msg; va_list val; diff --git a/mail/mail-threads.h b/mail/mail-threads.h index e27f07d789..d3872276f3 100644 --- a/mail/mail-threads.h +++ b/mail/mail-threads.h @@ -58,7 +58,7 @@ void mail_op_hide_progressbar (void); void mail_op_show_progressbar (void); #endif -void mail_op_set_message (gchar * fmt, ...) G_GNUC_PRINTF (1, 2); +void mail_op_set_message (const gchar *fmt, ...) G_GNUC_PRINTF (1, 2); void mail_op_error (gchar * fmt, ...) G_GNUC_PRINTF (1, 2); gboolean mail_op_get_password (gchar * prompt, gboolean secret, gchar ** dest); |