From 4b0541ac3358b6f094bac4f9d1f3e415e23fd4d5 Mon Sep 17 00:00:00 2001 From: NotZed Date: Mon, 8 May 2000 05:23:19 +0000 Subject: Size moved to message info, rather than content info structure. 2000-05-07 NotZed * message-list.c (ml_value_at): Size moved to message info, rather than content info structure. svn path=/trunk/; revision=2905 --- mail/ChangeLog | 5 +++++ mail/message-list.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index c8f2ec558f..69a9cb8a86 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-05-07 NotZed + + * message-list.c (ml_value_at): Size moved to message info, rather + than content info structure. + 2000-05-07 Dan Winship * message-list.c (select_msg): unref the message after displaying diff --git a/mail/message-list.c b/mail/message-list.c index e0aa14fcef..3380851c7a 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -226,11 +226,7 @@ ml_value_at (ETableModel *etm, int col, int row, void *data) break; case COL_SIZE: - if (msg_info->content) { - sprintf (buffer, "%d", msg_info->content->size); - } else { - sprintf (buffer, "0"); - } + sprintf (buffer, "%d", msg_info->size); retval = buffer; break; -- cgit