aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parent2b507716b257e6ef98dae8463180dbe718eb7b64 (diff)
downloadgsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.gz
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.bz2
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.lz
gsoc2013-evolution-6ba0a6a95bc68ea6bb49b4b2d623e3ea60ba6d79.tar.xz
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 'modules')
-rw-r--r--modules/itip-formatter/itip-view.c2
-rw-r--r--modules/settings/e-settings-mail-reader.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/itip-formatter/itip-view.c b/modules/itip-formatter/itip-view.c
index 6f72c9bda2..1a8742b574 100644
--- a/modules/itip-formatter/itip-view.c
+++ b/modules/itip-formatter/itip-view.c
@@ -5705,7 +5705,7 @@ view_response_cb (ItipView *view,
send_item (pitip, view);
break;
case ITIP_VIEW_RESPONSE_OPEN:
- g_idle_add_full (G_PRIORITY_DEFAULT, idle_open_cb, pitip, NULL);
+ g_idle_add (idle_open_cb, pitip);
return;
default:
break;
diff --git a/modules/settings/e-settings-mail-reader.c b/modules/settings/e-settings-mail-reader.c
index 360ce321d3..9cf906fbef 100644
--- a/modules/settings/e-settings-mail-reader.c
+++ b/modules/settings/e-settings-mail-reader.c
@@ -86,7 +86,7 @@ settings_mail_reader_constructed (GObject *object)
/* Bind properties to settings from an idle callback so the
* EMailReader interface has a chance to be initialized first. */
g_idle_add_full (
- G_PRIORITY_DEFAULT,
+ G_PRIORITY_DEFAULT_IDLE,
(GSourceFunc) settings_mail_reader_idle_cb,
g_object_ref (object),
(GDestroyNotify) g_object_unref);