aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-30 10:50:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-30 10:50:10 +0800
commit51b4ea7f40a888726dee3f8935b53cee9a25435b (patch)
tree6a474b626d999ed15d50e9c403cf1f6949bb0f1b /mail/e-mail-backend.c
parent0e4c54eddced72c9639001849148fe1813c5dc4e (diff)
downloadgsoc2013-evolution-51b4ea7f40a888726dee3f8935b53cee9a25435b.tar.gz
gsoc2013-evolution-51b4ea7f40a888726dee3f8935b53cee9a25435b.tar.zst
gsoc2013-evolution-51b4ea7f40a888726dee3f8935b53cee9a25435b.zip
Remove some unused bits from mail-mt.c.
Diffstat (limited to 'mail/e-mail-backend.c')
-rw-r--r--mail/e-mail-backend.c4
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,