diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-03-21 04:24:40 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-03-21 04:24:40 +0800 |
commit | 91c10248f8b8a3d361439e45764a72127ac3b5c9 (patch) | |
tree | 47bf3ea13b03f910f5948319a39278d872dbe9fd | |
parent | cce3726fe9c2efb67dd9e63472a6360d058553b8 (diff) | |
download | gsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.tar gsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.tar.gz gsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.tar.bz2 gsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.tar.lz gsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.tar.xz gsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.tar.zst gsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.zip |
Fixes for bug #39813
2003-03-20 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #39813
* e-msg-composer.c (composer_finalise): Don't unregister the
signature event handler here.
(destroy): Unregister it here instead.
svn path=/trunk/; revision=20442
-rw-r--r-- | composer/ChangeLog | 8 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 14 |
2 files changed, 15 insertions, 7 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 12c3ec2805..aa3994c218 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,11 @@ +2003-03-20 Jeffrey Stedfast <fejj@ximian.com> + + Fixes for bug #39813 + + * e-msg-composer.c (composer_finalise): Don't unregister the + signature event handler here. + (destroy): Unregister it here instead. + 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 1217a1d22d..e913e52e67 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2311,11 +2311,9 @@ static void composer_finalise (GObject *object) { EMsgComposer *composer; - + composer = E_MSG_COMPOSER (object); - - mail_config_signature_unregister_client ((MailConfigSignatureClient) sig_event_client, composer); - + if (composer->extra_hdr_names) { int i; @@ -2334,10 +2332,10 @@ composer_finalise (GObject *object) g_free (composer->charset); g_free (composer->mime_type); g_free (composer->mime_body); - + if (composer->redirect) camel_object_unref (composer->redirect); - + if (G_OBJECT_CLASS (parent_class)->finalize != NULL) (* G_OBJECT_CLASS (parent_class)->finalize) (object); } @@ -2362,7 +2360,7 @@ destroy (GtkObject *object) CORBA_Environment ev; composer = E_MSG_COMPOSER (object); - + CORBA_exception_init (&ev); if (composer->uic) { @@ -2407,6 +2405,8 @@ destroy (GtkObject *object) composer->editor_listener = NULL; } + mail_config_signature_unregister_client ((MailConfigSignatureClient) sig_event_client, composer); + if (GTK_OBJECT_CLASS (parent_class)->destroy != NULL) (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } |