diff options
Diffstat (limited to 'mail/e-mail-backend.c')
-rw-r--r-- | mail/e-mail-backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c index 8012cc79af..4dab31ca8a 100644 --- a/mail/e-mail-backend.c +++ b/mail/e-mail-backend.c @@ -196,7 +196,7 @@ mail_backend_final_sync (CamelStore *store, static gboolean mail_backend_poll_to_quit (EActivity *activity) { - return mail_msg_active ((guint) -1); + return mail_msg_active (); } /* Helper for mail_backend_prepare_for_quit_cb() */ @@ -249,7 +249,7 @@ mail_backend_prepare_for_quit_cb (EShell *shell, /* Now we poll until all activities are actually cancelled. * Reffing the activity delays quitting; the reference count * acts like a counting semaphore. */ - if (mail_msg_active ((guint) -1)) + if (mail_msg_active ()) g_timeout_add_seconds_full ( G_PRIORITY_DEFAULT, QUIT_POLL_INTERVAL, (GSourceFunc) mail_backend_poll_to_quit, |