aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-11 06:08:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-11 06:53:31 +0800
commit699e36491b564069bce8c36a79d4803b5d9492d1 (patch)
treeb5a6e652ed45d589eeb6416bf11194c2e8175130 /mail/e-mail-reader-utils.c
parent18813ccd8f4367ac98348f08e183d858cfe963f5 (diff)
downloadgsoc2013-evolution-699e36491b564069bce8c36a79d4803b5d9492d1.tar.gz
gsoc2013-evolution-699e36491b564069bce8c36a79d4803b5d9492d1.tar.zst
gsoc2013-evolution-699e36491b564069bce8c36a79d4803b5d9492d1.zip
Change em_format_redraw() to em_format_queue_redraw().
This changes the behavior of the function: instead of redrawing immediately it schedules the redraw from an idle callback. This allows us to make multiple changes to EMFormat before redrawing.
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r--mail/e-mail-reader-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index 7d8be346bc..bdef954709 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -720,7 +720,7 @@ headers_changed_cb (GConfClient *client,
/* force a redraw */
if (EM_FORMAT (formatter)->message)
- em_format_redraw (EM_FORMAT (formatter));
+ em_format_queue_redraw (EM_FORMAT (formatter));
}
static void