aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-25 23:31:06 +0800
committerDan Winship <danw@src.gnome.org>2000-04-25 23:31:06 +0800
commit28f75825c8c4966414fc98ca08238b119d1afd1b (patch)
tree0b5e3fd15a4901b5b12f7a178649ed69a3efefc7
parenta595bef60481ac75a513a2d21131e40a4168f522 (diff)
downloadgsoc2013-evolution-28f75825c8c4966414fc98ca08238b119d1afd1b.tar
gsoc2013-evolution-28f75825c8c4966414fc98ca08238b119d1afd1b.tar.gz
gsoc2013-evolution-28f75825c8c4966414fc98ca08238b119d1afd1b.tar.bz2
gsoc2013-evolution-28f75825c8c4966414fc98ca08238b119d1afd1b.tar.lz
gsoc2013-evolution-28f75825c8c4966414fc98ca08238b119d1afd1b.tar.xz
gsoc2013-evolution-28f75825c8c4966414fc98ca08238b119d1afd1b.tar.zst
gsoc2013-evolution-28f75825c8c4966414fc98ca08238b119d1afd1b.zip
fix some incorrect macro usage that resulted in bogus casts
* camel-mime-message.c: fix some incorrect macro usage that resulted in bogus casts svn path=/trunk/; revision=2603
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-message.c8
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 *