aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-composer-actions.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 509b472f7b..cec3eff342 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,10 @@
+2008-04-08 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes bug #525966
+
+ * e-composer-actions.c (action_close_cb):
+ Fix a boolean error in detecting unsaved changes.
+
2008-04-07 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #328146
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c
index 81cc2101d5..aeae508153 100644
--- a/composer/e-composer-actions.c
+++ b/composer/e-composer-actions.c
@@ -125,7 +125,7 @@ action_close_cb (GtkAction *action,
editor = GTKHTML_EDITOR (composer);
if (!gtkhtml_editor_get_changed (editor) &&
- !e_composer_autosave_get_saved (composer)) {
+ e_composer_autosave_get_saved (composer)) {
gtk_widget_destroy (GTK_WIDGET (composer));
return;