aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/mail-folder-cache.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-02-08 20:03:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-02-08 20:03:26 +0800
commit6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79 (patch)
treeec63b01e51834492c41ce996398631c7c68fa7e5 /libemail-engine/mail-folder-cache.c
parent2b507716b257e6ef98dae8463180dbe718eb7b64 (diff)
downloadgsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.gz
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.bz2
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.lz
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.xz
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.zst
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.zip
Revert "Bug #683867 - Schedule actions with higher idle priority"
This reverts commit 2b507716b257e6ef98dae8463180dbe718eb7b64. The commit contains not a single comment as to why these custom priority values are being used. The rationale needs to be documented in the code, either at each call point or preferrably at a centralized priority value definition.
Diffstat (limited to 'libemail-engine/mail-folder-cache.c')
-rw-r--r--libemail-engine/mail-folder-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libemail-engine/mail-folder-cache.c b/libemail-engine/mail-folder-cache.c
index f1af370b1e..35e620862e 100644
--- a/libemail-engine/mail-folder-cache.c
+++ b/libemail-engine/mail-folder-cache.c
@@ -304,8 +304,8 @@ flush_updates (MailFolderCache *cache)
if (g_queue_is_empty (&cache->priv->updates))
return;
- cache->priv->update_id = g_idle_add_full (G_PRIORITY_DEFAULT,
- (GSourceFunc) flush_updates_idle_cb, cache, NULL);
+ cache->priv->update_id = g_idle_add (
+ (GSourceFunc) flush_updates_idle_cb, cache);
}
/* This is how unread counts work (and don't work):