aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog1
-rw-r--r--mail/mail-display.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 0d584ee783..cebf2fe535 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -4,6 +4,7 @@
content type directly.
(do_attachment_header): add the target for the mime type to the
drag source.
+ (drag_data_get_cb): silence warning.
2002-10-01 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 3cfb5bf4e7..a02d323920 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -911,7 +911,7 @@ drag_data_get_cb (GtkWidget *widget,
if (header_content_type_is (part->content_type, "text", "*")) {
GByteArray *ba;
- ba = mail_format_get_data_wrapper_text (part, NULL);
+ ba = mail_format_get_data_wrapper_text ((CamelDataWrapper *)part, NULL);
if (ba) {
gtk_selection_data_set (selection_data, selection_data->target, 8,
ba->data, ba->len);