aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index d13e34fc3a..21b0328a29 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3955,7 +3955,7 @@ e_msg_composer_is_dirty (EMsgComposer *composer)
gboolean rv;
CORBA_exception_init (&ev);
- rv = composer->has_changed || GNOME_GtkHTML_Editor_Engine_isDirty (composer->editor_engine, &ev);
+ rv = composer->has_changed || GNOME_GtkHTML_Editor_Engine_hasUndo (composer->editor_engine, &ev);
CORBA_exception_free (&ev);
return rv;