aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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-09 01:26:48 +0800
commiteb9e9279262050117e75547bc5ce200ac92c24fb (patch)
treeb3210c08b0920832face1fce796c0d3731d97a7d /mail
parent1214f942cc9fd61a3caa2a13d00f0c0a46197cb2 (diff)
downloadgsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar.gz
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar.bz2
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar.lz
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar.xz
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.tar.zst
gsoc2013-evolution-eb9e9279262050117e75547bc5ce200ac92c24fb.zip
Bug #683867 - Schedule actions with higher idle priority
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-browser.c2
-rw-r--r--mail/e-mail-display.c2
-rw-r--r--mail/e-mail-ui-session.c2
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);
}