aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-10-01 00:21:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-01 00:21:41 +0800
commit983bea9996458f5b5f03e22b22ebd1a5203b7180 (patch)
treefcc02ac5f1083def0bd4d1509d297341d10b272f /composer/e-composer-actions.c
parentaa2bed6ae369073152cc889a86055878125a60db (diff)
downloadgsoc2013-evolution-983bea9996458f5b5f03e22b22ebd1a5203b7180.tar.gz
gsoc2013-evolution-983bea9996458f5b5f03e22b22ebd1a5203b7180.tar.zst
gsoc2013-evolution-983bea9996458f5b5f03e22b22ebd1a5203b7180.zip
Remove some unneeded composer autosave bits.
Closing the last main window no longer takes composer windows down with it, so we no longer need the "holy crap we're shutting down, quick save to disk!" logic.
Diffstat (limited to 'composer/e-composer-actions.c')
-rw-r--r--composer/e-composer-actions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c
index bceeb1a9f5..9c2ed6aed6 100644
--- a/composer/e-composer-actions.c
+++ b/composer/e-composer-actions.c
@@ -64,8 +64,7 @@ action_close_cb (GtkAction *action,
editor = GTKHTML_EDITOR (composer);
widget = GTK_WIDGET (composer);
- if (!gtkhtml_editor_get_changed (editor) ||
- e_msg_composer_is_exiting (composer)) {
+ if (!gtkhtml_editor_get_changed (editor)) {
gtk_widget_destroy (widget);
return;
}