From d79ca40b62e72b1ec516631bbffabd6e2cad15e6 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 6 Oct 2011 16:59:04 +0200 Subject: Adapt to CamelFolderSummary API changes --- mail/em-folder-properties.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/em-folder-properties.c') diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c index a89abcd036..6e8e04c26f 100644 --- a/mail/em-folder-properties.c +++ b/mail/em-folder-properties.c @@ -268,9 +268,9 @@ emfp_dialog_run (AsyncContext *context) * messages. VISIBLE+DELETED gives the correct count that matches * the label below the Send & Receive button. */ name = camel_folder_get_display_name (context->folder); - context->total = context->folder->summary->visible_count; - context->unread = context->folder->summary->unread_count; - deleted = context->folder->summary->deleted_count; + context->total = camel_folder_summary_get_visible_count (context->folder->summary); + context->unread = camel_folder_summary_get_unread_count (context->folder->summary); + deleted = camel_folder_summary_get_deleted_count (context->folder->summary); client = gconf_client_get_default (); key = "/apps/evolution/mail/display/show_deleted"; -- cgit v1.2.3