aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-02 05:27:39 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-02 05:27:39 +0800
commit52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad (patch)
tree0a2158d0505dd47626f93b9847888aa837100550 /composer
parent7f807a631fd7538fa361d64cf2f7779ce0a80e99 (diff)
downloadgsoc2013-evolution-52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad.tar
gsoc2013-evolution-52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad.tar.gz
gsoc2013-evolution-52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad.tar.bz2
gsoc2013-evolution-52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad.tar.lz
gsoc2013-evolution-52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad.tar.xz
gsoc2013-evolution-52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad.tar.zst
gsoc2013-evolution-52fac8a12c3b8c8a5f94f6ba1644166dddfa59ad.zip
Constify param
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 svn path=/trunk/; revision=4458
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/e-msg-composer.c6
-rw-r--r--composer/e-msg-composer.h2
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);