aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-03-21 04:24:40 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-03-21 04:24:40 +0800
commit91c10248f8b8a3d361439e45764a72127ac3b5c9 (patch)
tree47bf3ea13b03f910f5948319a39278d872dbe9fd /composer/e-msg-composer.c
parentcce3726fe9c2efb67dd9e63472a6360d058553b8 (diff)
downloadgsoc2013-evolution-91c10248f8b8a3d361439e45764a72127ac3b5c9.tar.gz
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
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c14
1 files changed, 7 insertions, 7 deletions
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);
}