aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
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-08 19:37:30 +0800
commit2b507716b257e6ef98dae8463180dbe718eb7b64 (patch)
treeee0ab1d3c76b1cee11bc85ba0b3970ad930361af /em-format
parent269149baf55e10a64d64b26ec4f67c9840e1ce38 (diff)
downloadgsoc2013-evolution-2b507716b257e6ef98dae8463180dbe718eb7b64.tar.gz
gsoc2013-evolution-2b507716b257e6ef98dae8463180dbe718eb7b64.tar.zst
gsoc2013-evolution-2b507716b257e6ef98dae8463180dbe718eb7b64.zip
Bug #683867 - Schedule actions with higher idle priority
Diffstat (limited to 'em-format')
-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 359efe7d9b..f2832b1f03 100644
--- a/em-format/e-mail-parser.c
+++ b/em-format/e-mail-parser.c
@@ -723,9 +723,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;