diff options
-rw-r--r-- | composer/ChangeLog | 8 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 6 | ||||
-rw-r--r-- | composer/e-msg-composer.h | 2 |
3 files changed, 12 insertions, 4 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 9173e912fc..f5c8462b0b 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,11 @@ +2000-08-01 JP Rosevear <jpr@helixcode.com> + + * e-msg-composer.h: Constify param + + * e-msg-composer.c (get_signature): Constify param + (set_editor_text): ditto + (e_msg_composer_new_with_sig_file): ditto + 2000-08-01 Peter Williams <peterw@helixcode.com> * e-msg-composer.c (set_editor_text): sizeof("--\") != diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 9ba4862769..21a1ed31da 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -304,7 +304,7 @@ build_message (EMsgComposer *composer) } static char * -get_signature (char *sigfile) +get_signature (const char *sigfile) { char *rawsig; static char *htmlsig = NULL; @@ -354,7 +354,7 @@ get_signature (char *sigfile) } static void -set_editor_text (BonoboWidget *editor, char *sig_file, const char *text) +set_editor_text (BonoboWidget *editor, const char *sig_file, const char *text) { Bonobo_PersistStream persist; BonoboStream *stream; @@ -1229,7 +1229,7 @@ e_msg_composer_new (void) * Return value: A pointer to the newly created widget **/ GtkWidget * -e_msg_composer_new_with_sig_file (char *sig_file) +e_msg_composer_new_with_sig_file (const char *sig_file) { GtkWidget *new; diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 107b9e69a0..94e906a48e 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -82,7 +82,7 @@ GtkType e_msg_composer_get_type (void); void e_msg_composer_construct (EMsgComposer *composer); GtkWidget *e_msg_composer_new (void); -GtkWidget *e_msg_composer_new_with_sig_file (char *sig_file); +GtkWidget *e_msg_composer_new_with_sig_file (const char *sig_file); GtkWidget *e_msg_composer_new_from_url (const char *url); void e_msg_composer_show_attachments (EMsgComposer *composer, gboolean show); |