aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parent126aa2398abc1bbab0fd0cd76fda5042cc83fe76 (diff)
downloadgsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar.gz
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.tar.zst
gsoc2013-evolution-d79ca40b62e72b1ec516631bbffabd6e2cad15e6.zip
Adapt to CamelFolderSummary API changes
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-view-private.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index 30a6756ddf..50525c7c7f 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -983,11 +983,11 @@ e_mail_shell_view_update_sidebar (EMailShellView *mail_shell_view)
folder_name = camel_folder_get_display_name (folder);
parent_store = camel_folder_get_parent_store (folder);
- num_deleted = folder->summary->deleted_count;
- num_junked = folder->summary->junk_count;
- num_junked_not_deleted = folder->summary->junk_not_deleted_count;
- num_unread = folder->summary->unread_count;
- num_visible = folder->summary->visible_count;
+ num_deleted = camel_folder_summary_get_deleted_count (folder->summary);
+ num_junked = camel_folder_summary_get_junk_count (folder->summary);
+ num_junked_not_deleted = camel_folder_summary_get_junk_not_deleted_count (folder->summary);
+ num_unread = camel_folder_summary_get_unread_count (folder->summary);
+ num_visible = camel_folder_summary_get_visible_count (folder->summary);
buffer = g_string_sized_new (256);
uids = e_mail_reader_get_selected_uids (reader);