[evolution] Bug 734023 - Critical warnings from e_html_editor_view_set_changed() when sending message



commit 1a515c48f9808a7c73233b22a6708d4c6695af3b
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Aug 1 12:44:55 2014 +0200

    Bug 734023 - Critical warnings from e_html_editor_view_set_changed() when sending message
    
    Disconnect the notify callbacks on the headers in the EMsgComposer dispose
    method to avoid calling them after the EEditor was destroyed.

 composer/e-msg-composer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 96341ed..d60fa9e 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2331,6 +2331,8 @@ msg_composer_dispose (GObject *object)
                shell, msg_composer_quit_requested_cb, composer);
        g_signal_handlers_disconnect_by_func (
                shell, msg_composer_prepare_for_quit_cb, composer);
+       g_signal_handlers_disconnect_by_func (
+               composer, msg_composer_notify_header_cb, NULL);
 
        e_composer_private_dispose (composer);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]