aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-msg-composer.c3
2 files changed, 2 insertions, 8 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 1c91f10546..eb37427bb9 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,10 +1,3 @@
-2001-07-06 Dan Winship <danw@ximian.com>
-
- * e-msg-composer.c (do_exit): Call autosave_manager_unregister
- before destroying the composer, so gtkhtml-editor-control doesn't
- try to act on a destroyed GtkHTML widget.
- (destroy): Remove the autosave_manager_unregister from here.
-
2001-07-06 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_unregister): make sure we
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 262119faa1..e5d710ceaa 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1311,7 +1311,6 @@ do_exit (EMsgComposer *composer)
exit_dialog_cb (button, composer);
} else {
- autosave_manager_unregister (am, composer);
gtk_widget_destroy (GTK_WIDGET (composer));
}
}
@@ -1872,6 +1871,8 @@ destroy (GtkObject *object)
composer = E_MSG_COMPOSER (object);
+ autosave_manager_unregister (am, composer);
+
CORBA_exception_init (&ev);
if (composer->config_db) {