diff options
author | Michel Dänzer <michel@daenzer.net> | 2013-02-08 19:36:38 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2013-02-08 19:37:30 +0800 |
commit | 2b507716b257e6ef98dae8463180dbe718eb7b64 (patch) | |
tree | ee0ab1d3c76b1cee11bc85ba0b3970ad930361af /mail | |
parent | 269149baf55e10a64d64b26ec4f67c9840e1ce38 (diff) | |
download | gsoc2013-evolution-2b507716b257e6ef98dae8463180dbe718eb7b64.tar.gz gsoc2013-evolution-2b507716b257e6ef98dae8463180dbe718eb7b64.tar.zst gsoc2013-evolution-2b507716b257e6ef98dae8463180dbe718eb7b64.zip |
Bug #683867 - Schedule actions with higher idle priority
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-browser.c | 2 | ||||
-rw-r--r-- | mail/e-mail-display.c | 2 | ||||
-rw-r--r-- | mail/e-mail-ui-session.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c index 9ca4ce230f..15f61c50a5 100644 --- a/mail/e-mail-browser.c +++ b/mail/e-mail-browser.c @@ -302,7 +302,7 @@ mail_browser_message_list_built_cb (EMailBrowser *browser, g_return_if_fail (IS_MESSAGE_LIST (message_list)); if (!message_list_count (message_list)) - g_idle_add (close_on_idle_cb, browser); + g_idle_add_full (G_PRIORITY_DEFAULT, close_on_idle_cb, browser, NULL); } static gboolean diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c index a286787be0..d1e27f8fa3 100644 --- a/mail/e-mail-display.c +++ b/mail/e-mail-display.c @@ -1926,7 +1926,7 @@ e_mail_display_reload (EMailDisplay *display) /* Schedule reloading if neccessary */ display->priv->scheduled_reload = - g_idle_add ((GSourceFunc) do_reload_display, display); + g_idle_add_full (G_PRIORITY_DEFAULT, (GSourceFunc) do_reload_display, display, NULL); } GtkAction * diff --git a/mail/e-mail-ui-session.c b/mail/e-mail-ui-session.c index d07bc1ee77..62defbc914 100644 --- a/mail/e-mail-ui-session.c +++ b/mail/e-mail-ui-session.c @@ -597,7 +597,7 @@ mail_ui_session_add_service (CamelSession *session, context->service = g_object_ref (service); g_idle_add_full ( - G_PRIORITY_DEFAULT_IDLE, + G_PRIORITY_DEFAULT, (GSourceFunc) mail_ui_session_add_service_cb, context, (GDestroyNotify) source_context_free); } |