diff options
author | Dan Winship <danw@src.gnome.org> | 2001-07-07 02:24:02 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-07-07 02:24:02 +0800 |
commit | 0d553dc97e58504f674d8c94d6ecea86c5d2c9cd (patch) | |
tree | 7ef893b7c003c49fd1fbfd1cbbc5a9b3d32a1a98 /composer/e-msg-composer.c | |
parent | 5616de530929df0c96ab36a8b09b9044f5c34023 (diff) | |
download | gsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.tar.gz gsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.tar.zst gsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.zip |
Call autosave_manager_unregister before destroying the composer, so
* 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.
svn path=/trunk/; revision=10850
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index e5d710ceaa..262119faa1 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1311,6 +1311,7 @@ do_exit (EMsgComposer *composer) exit_dialog_cb (button, composer); } else { + autosave_manager_unregister (am, composer); gtk_widget_destroy (GTK_WIDGET (composer)); } } @@ -1871,8 +1872,6 @@ destroy (GtkObject *object) composer = E_MSG_COMPOSER (object); - autosave_manager_unregister (am, composer); - CORBA_exception_init (&ev); if (composer->config_db) { |