From eb9e9279262050117e75547bc5ce200ac92c24fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 8 Feb 2013 12:36:38 +0100 Subject: Bug #683867 - Schedule actions with higher idle priority --- em-format/e-mail-parser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'em-format') 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; -- cgit v1.2.3