From aec33928b7b77fe64b0afdf13b5db126e7f5dfac Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 26 Apr 2010 08:36:24 -0400 Subject: Adapt to Camel API changes. --- mail/e-mail-backend.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mail/e-mail-backend.c') diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c index e2ca212627..c10a0eb61b 100644 --- a/mail/e-mail-backend.c +++ b/mail/e-mail-backend.c @@ -273,7 +273,6 @@ mail_backend_quit_requested_cb (EShell *shell, { CamelFolder *folder; GtkWindow *window; - guint32 unsent; gint response; window = e_shell_get_active_window (shell); @@ -288,11 +287,7 @@ mail_backend_quit_requested_cb (EShell *shell, if (folder == NULL) return; - if (camel_object_get ( - folder, NULL, CAMEL_FOLDER_VISIBLE, &unsent, 0) != 0) - return; - - if (unsent == 0) + if (folder->summary->visible_count == 0) return; response = e_alert_run_dialog_for_args ( -- cgit