aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>1999-12-09 10:35:42 +0800
committerEttore Perazzoli <ettore@src.gnome.org>1999-12-09 10:35:42 +0800
commit54e2b5022a8eca59e4aac0d5b0d3cb125d54c008 (patch)
tree5d581d09b10c89cddd268154adf6524eb581c1aa /camel/camel-mime-message.h
parent98b072ccedab8676f555b26d904bf95435f381f6 (diff)
downloadgsoc2013-evolution-54e2b5022a8eca59e4aac0d5b0d3cb125d54c008.tar
gsoc2013-evolution-54e2b5022a8eca59e4aac0d5b0d3cb125d54c008.tar.gz
gsoc2013-evolution-54e2b5022a8eca59e4aac0d5b0d3cb125d54c008.tar.bz2
gsoc2013-evolution-54e2b5022a8eca59e4aac0d5b0d3cb125d54c008.tar.lz
gsoc2013-evolution-54e2b5022a8eca59e4aac0d5b0d3cb125d54c008.tar.xz
gsoc2013-evolution-54e2b5022a8eca59e4aac0d5b0d3cb125d54c008.tar.zst
gsoc2013-evolution-54e2b5022a8eca59e4aac0d5b0d3cb125d54c008.zip
Make set_* methods in CamelMimeMessage use const strings.
svn path=/trunk/; revision=1477
Diffstat (limited to 'camel/camel-mime-message.h')
-rw-r--r--camel/camel-mime-message.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h
index e233f99899..cdc9e3e7e6 100644
--- a/camel/camel-mime-message.h
+++ b/camel/camel-mime-message.h
@@ -90,11 +90,11 @@ typedef struct {
void (*set_received_date) (CamelMimeMessage *mime_message, gchar *received_date);
const gchar * (*get_received_date) (CamelMimeMessage *mime_message);
const gchar * (*get_sent_date) (CamelMimeMessage *mime_message);
- void (*set_reply_to) (CamelMimeMessage *mime_message, gchar *reply_to);
+ void (*set_reply_to) (CamelMimeMessage *mime_message, const gchar *reply_to);
const gchar * (*get_reply_to) (CamelMimeMessage *mime_message);
- void (*set_subject) (CamelMimeMessage *mime_message, gchar *subject);
+ void (*set_subject) (CamelMimeMessage *mime_message, const gchar *subject);
const gchar * (*get_subject) (CamelMimeMessage *mime_message);
- void (*set_from) (CamelMimeMessage *mime_message, gchar *from);
+ void (*set_from) (CamelMimeMessage *mime_message, const gchar *from);
const gchar * (*get_from) (CamelMimeMessage *mime_message);
void (*add_recipient) (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient);
void (*remove_recipient) (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient);
@@ -116,14 +116,14 @@ GtkType camel_mime_message_get_type (void);
CamelMimeMessage *camel_mime_message_new_with_session (CamelSession *session);
-void camel_mime_message_set_received_date (CamelMimeMessage *mime_message, gchar *received_date);
+void camel_mime_message_set_received_date (CamelMimeMessage *mime_message, const gchar *received_date);
const gchar *camel_mime_message_get_received_date (CamelMimeMessage *mime_message);
const gchar *camel_mime_message_get_sent_date (CamelMimeMessage *mime_message);
-void camel_mime_message_set_reply_to (CamelMimeMessage *mime_message, gchar *reply_to);
+void camel_mime_message_set_reply_to (CamelMimeMessage *mime_message, const gchar *reply_to);
const gchar *camel_mime_message_get_reply_to (CamelMimeMessage *mime_message);
-void camel_mime_message_set_subject (CamelMimeMessage *mime_message, gchar *subject);
+void camel_mime_message_set_subject (CamelMimeMessage *mime_message, const gchar *subject);
const gchar *camel_mime_message_get_subject (CamelMimeMessage *mime_message);
-void camel_mime_message_set_from (CamelMimeMessage *mime_message, gchar *from);
+void camel_mime_message_set_from (CamelMimeMessage *mime_message, const gchar *from);
const gchar *camel_mime_message_get_from (CamelMimeMessage *mime_message);
void camel_mime_message_add_recipient (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient);