From 18cee24a50b93f4b6b7c053a54a1ec90bf22b69e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 2 Nov 2000 04:13:17 +0000 Subject: fmt argument should be const. 2000-11-01 Jeffrey Stedfast * mail-threads.c (mail_op_set_message): fmt argument should be const. svn path=/trunk/; revision=6343 --- mail/ChangeLog | 7 ++++++- mail/mail-threads.c | 2 +- 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 + + * mail-threads.c (mail_op_set_message): fmt argument should be + const. + 2000-11-01 Dan Winship 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 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); -- cgit