aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@daenzer.net>2013-02-08 19:37:46 +0800
committerMilan Crha <mcrha@redhat.com>2013-02-09 00:39:23 +0800
commitcabfd4b9f6c9f5f8deaba750529308de7aafde5d (patch)
treebf530bec06877f287a6e79deea5d2e4217394a81 /em-format/e-mail-parser.c
parentd01808e942986c1ad2f8e77d371c30f5ae95c2fd (diff)
downloadgsoc2013-evolution-cabfd4b9f6c9f5f8deaba750529308de7aafde5d.tar.gz
gsoc2013-evolution-cabfd4b9f6c9f5f8deaba750529308de7aafde5d.tar.zst
gsoc2013-evolution-cabfd4b9f6c9f5f8deaba750529308de7aafde5d.zip
Bug #683867 - Schedule actions with higher idle priority
Diffstat (limited to 'em-format/e-mail-parser.c')
-rw-r--r--em-format/e-mail-parser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/em-format/e-mail-parser.c b/em-format/e-mail-parser.c
index 36e6676266..b13ebd9886 100644
--- a/em-format/e-mail-parser.c
+++ b/em-format/e-mail-parser.c
@@ -660,9 +660,10 @@ e_mail_parser_wrap_as_attachment (EMailParser *parser,
}
/* e_attachment_load_async must be called from main thread */
- g_idle_add (
+ g_idle_add_full (G_PRIORITY_HIGH,
(GSourceFunc) load_attachment_idle,
- g_object_ref (empa->attachment));
+ g_object_ref (empa->attachment),
+ NULL);
if (size != 0) {
GFileInfo *fileinfo;