aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-properties.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-10-06 22:59:04 +0800
committerMilan Crha <mcrha@redhat.com>2011-10-06 22:59:04 +0800
commitd79ca40b62e72b1ec516631bbffabd6e2cad15e6 (patch)
tree25da54b7a1d12c0de4c72c02c61eeda4a078f711 /mail/em-folder-properties.c
parent126aa2398abc1bbab0fd0cd76fda5042cc83fe76 (diff)
downloadgsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar.gz
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar.bz2
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar.lz
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar.xz
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar.zst
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.zip
Adapt to CamelFolderSummary API changes
Diffstat (limited to 'mail/em-folder-properties.c')
-rw-r--r--mail/em-folder-properties.c6
1 files changed, 3 insertions, 3 deletions
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";