aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-02-08 20:03:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-02-08 20:03:26 +0800
commit6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79 (patch)
treeec63b01e51834492c41ce996398631c7c68fa7e5 /mail
parent2b507716b257e6ef98dae8463180dbe718eb7b64 (diff)
downloadgsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.gz
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.zst
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.zip
Revert "Bug #683867 - Schedule actions with higher idle priority"
This reverts commit 2b507716b257e6ef98dae8463180dbe718eb7b64. The commit contains not a single comment as to why these custom priority values are being used. The rationale needs to be documented in the code, either at each call point or preferrably at a centralized priority value definition.
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 15f61c50a5..9ca4ce230f 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_full (G_PRIORITY_DEFAULT, close_on_idle_cb, browser, NULL);
+ g_idle_add (close_on_idle_cb, browser);
}
static gboolean
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index d1e27f8fa3..a286787be0 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_full (G_PRIORITY_DEFAULT, (GSourceFunc) do_reload_display, display, NULL);
+ g_idle_add ((GSourceFunc) do_reload_display, display);
}
GtkAction *
diff --git a/mail/e-mail-ui-session.c b/mail/e-mail-ui-session.c
index 62defbc914..d07bc1ee77 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,
+ G_PRIORITY_DEFAULT_IDLE,
(GSourceFunc) mail_ui_session_add_service_cb,
context, (GDestroyNotify) source_context_free);
}