aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/mail-folder-cache.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@daenzer.net>2013-02-08 19:36:38 +0800
committerMilan Crha <mcrha@redhat.com>2013-02-09 01:26:48 +0800
commiteb9e9279262050117e75547bc5ce200ac92c24fb (patch)
treeb3210c08b0920832face1fce796c0d3731d97a7d /libemail-engine/mail-folder-cache.c
parent1214f942cc9fd61a3caa2a13d00f0c0a46197cb2 (diff)
downloadgsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar.gz
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar.zst
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.zip
Bug #683867 - Schedule actions with higher idle priority
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 35e620862e..f1af370b1e 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 (
- (GSourceFunc) flush_updates_idle_cb, cache);
+ cache->priv->update_id = g_idle_add_full (G_PRIORITY_DEFAULT,
+ (GSourceFunc) flush_updates_idle_cb, cache, NULL);
}
/* This is how unread counts work (and don't work):