diff options
author | Milan Crha <mcrha@redhat.com> | 2011-10-06 22:59:04 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-10-06 22:59:04 +0800 |
commit | d79ca40b62e72b1ec516631bbffabd6e2cad15e6 (patch) | |
tree | 25da54b7a1d12c0de4c72c02c61eeda4a078f711 /mail | |
parent | 126aa2398abc1bbab0fd0cd76fda5042cc83fe76 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | mail/e-mail-backend.c | 2 | ||||
-rw-r--r-- | mail/em-folder-properties.c | 6 | ||||
-rw-r--r-- | mail/em-format-html-display.c | 2 | ||||
-rw-r--r-- | mail/mail-folder-cache.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c index 7cc33c14c6..cb91339503 100644 --- a/mail/e-mail-backend.c +++ b/mail/e-mail-backend.c @@ -349,7 +349,7 @@ mail_backend_quit_requested_cb (EShell *shell, if (folder == NULL) return; - if (folder->summary->visible_count == 0) + if (camel_folder_summary_get_visible_count (folder->summary) == 0) return; response = e_alert_run_dialog_for_args ( 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"; diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index de165073ce..a2a49defaa 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -1137,7 +1137,7 @@ efhd_attachment_button (EMFormatHTML *efh, if (emf->folder && emf->folder->summary && emf->uid) { CamelMessageInfo *mi; - mi = camel_folder_summary_uid (emf->folder->summary, emf->uid); + mi = camel_folder_summary_get (emf->folder->summary, emf->uid); if (mi) { const CamelMessageContentInfo *ci; diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 30bbce6579..5dd215a156 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -287,7 +287,7 @@ update_1folder (MailFolderCache *self, if ((deleted = camel_folder_get_deleted_message_count (folder)) > 0) unread -= deleted; - junked = folder->summary->junk_count; + junked = camel_folder_summary_get_junk_count (folder->summary); if (junked > 0) unread -= junked; } |