diff options
-rw-r--r-- | composer/e-msg-composer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index a3f6e037b6..caa442b1e3 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -5634,6 +5634,14 @@ e_msg_composer_is_autosaved (EMsgComposer *composer) } void +e_msg_composer_set_enable_autosave (EMsgComposer *composer, gboolean enabled) +{ + g_return_if_fail (E_IS_MSG_COMPOSER (composer)); + + composer->enable_autosave = enabled; +} + +void e_msg_composer_drop_editor_undo (EMsgComposer *composer) { CORBA_Environment ev; |