From fea1867db330edef4260cd057e1f73b61aacc6fa Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 8 Apr 2008 15:50:01 +0000 Subject: ** Fixes bug #525966 2008-04-08 Matthew Barnes ** Fixes bug #525966 * e-composer-actions.c (action_close_cb): Fix a boolean error in detecting unsaved changes. svn path=/trunk/; revision=35344 --- composer/ChangeLog | 7 +++++++ composer/e-composer-actions.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + ** Fixes bug #525966 + + * e-composer-actions.c (action_close_cb): + Fix a boolean error in detecting unsaved changes. + 2008-04-07 Matthew Barnes ** 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; -- cgit