diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-message.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 52a2cce9f2..ad51e0edd9 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2000-04-25 Dan Winship <danw@helixcode.com> + + * camel-mime-message.c: fix some incorrect macro usage that + resulted in bogus casts + 2000-04-24 Dan Winship <danw@helixcode.com> * camel-mime-part-utils.c diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c index 25c1c667e2..fb034d36cf 100644 --- a/camel/camel-mime-message.c +++ b/camel/camel-mime-message.c @@ -234,7 +234,7 @@ camel_mime_message_set_date(CamelMimeMessage *message, time_t date, int offset) g_free(message->date_str); message->date_str = header_format_date(date, offset); - CMD_CLASS(parent_class)->set_header((CamelMedium *)message, "Date", message->date_str); + CAMEL_MEDIUM_CLASS(parent_class)->set_header((CamelMedium *)message, "Date", message->date_str); } void @@ -267,7 +267,7 @@ camel_mime_message_set_reply_to (CamelMimeMessage *mime_message, const gchar *re g_free(mime_message->reply_to); mime_message->reply_to = g_strdup(reply_to); - CMD_CLASS(parent_class)->set_header((CamelMedium *)mime_message, "Reply-To", reply_to); + CAMEL_MEDIUM_CLASS(parent_class)->set_header((CamelMedium *)mime_message, "Reply-To", reply_to); } const gchar * @@ -288,7 +288,7 @@ camel_mime_message_set_subject (CamelMimeMessage *mime_message, g_free(mime_message->subject); mime_message->subject = g_strdup(subject); text = header_encode_string(subject); - CMD_CLASS(parent_class)->set_header((CamelMedium *)mime_message, "Subject", text); + CAMEL_MEDIUM_CLASS(parent_class)->set_header((CamelMedium *)mime_message, "Subject", text); g_free(text); } @@ -308,7 +308,7 @@ camel_mime_message_set_from (CamelMimeMessage *mime_message, const gchar *from) g_free(mime_message->from); mime_message->from = g_strdup(from); - CMD_CLASS(parent_class)->set_header((CamelMedium *)mime_message, "From", from); + CAMEL_MEDIUM_CLASS(parent_class)->set_header((CamelMedium *)mime_message, "From", from); } const gchar * |