[evolution] EShell not finalized on exit



commit 89cada2a8de4a71f0e2b4a3c28912c68f5539cec
Author: Milan Crha <mcrha redhat com>
Date:   Fri Nov 13 18:16:29 2015 +0100

    EShell not finalized on exit
    
    Add a workaround for bug #737949, which changes the previous mute of
    the runtime warning when the shell was not finalized.

 shell/main.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/shell/main.c b/shell/main.c
index eded077..211203c 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -654,14 +654,16 @@ main (gint argc,
        gtk_main ();
 
 exit:
+       /* Workaround https://bugzilla.gnome.org/show_bug.cgi?id=737949 */
+       g_signal_emit_by_name (shell, "shutdown");
+
        /* Drop what should be the last reference to the shell.
         * That will cause e_shell_get_default() to henceforth
         * return NULL.  Use that to check for reference leaks. */
        g_object_unref (shell);
 
        if (e_shell_get_default () != NULL) {
-               /* Mute the warning, due to https://bugzilla.gnome.org/show_bug.cgi?id=737949
-               g_warning ("Shell not finalized on exit"); */
+               g_warning ("Shell not finalized on exit");
 
                /* To not run in the safe mode the next start */
                if (e_file_lock_get_pid () == getpid ())


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