From 9c6a7673b80268d96eb007b3273b26d5422f48a1 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 8 Feb 2013 18:26:15 +0100 Subject: Add comments around g_idle_add() changes --- plugins/mail-to-task/mail-to-task.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c index 4e773f06a7..5cdb2bf141 100644 --- a/plugins/mail-to-task/mail-to-task.c +++ b/plugins/mail-to-task/mail-to-task.c @@ -1011,6 +1011,7 @@ do_mail_to_event (AsyncData *data) if (!e_cal_client_get_object_sync (E_CAL_CLIENT (client), icalcomponent_get_uid (icalcomp), NULL, &(mc->stored_comp), NULL, NULL)) mc->stored_comp = NULL; + /* schedule with priority higher than gtk+ uses for animations (check docs for G_PRIORITY_HIGH_IDLE) */ g_idle_add_full (G_PRIORITY_DEFAULT, (GSourceFunc) do_manage_comp_idle, mc, NULL); oldmc = mc; -- cgit v1.2.3