aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-07-07 02:24:02 +0800
committerDan Winship <danw@src.gnome.org>2001-07-07 02:24:02 +0800
commit0d553dc97e58504f674d8c94d6ecea86c5d2c9cd (patch)
tree7ef893b7c003c49fd1fbfd1cbbc5a9b3d32a1a98
parent5616de530929df0c96ab36a8b09b9044f5c34023 (diff)
downloadgsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.tar
gsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.tar.gz
gsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.tar.bz2
gsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.tar.lz
gsoc2013-evolution-0d553dc97e58504f674d8c94d6ecea86c5d2c9cd.tar.xz
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
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-msg-composer.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index eb37427bb9..1c91f10546 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,10 @@
+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 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) {