diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index dbcb55b36a..7ef48c2149 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -32,12 +32,12 @@ #include "e-shell.h" #include <glib/gi18n.h> +#include <libebackend/e-module.h> +#include <libebackend/e-extensible.h> #include <libedataserverui/e-passwords.h> -#include "e-util/e-module.h" -#include "e-util/e-extensible.h" -#include "e-util/e-util-private.h" #include "e-util/e-util.h" +#include "e-util/e-util-private.h" #include "smclient/eggsmclient.h" #include "widgets/misc/e-preferences-window.h" @@ -747,6 +747,12 @@ shell_dispose (GObject *object) g_object_unref (alert); } + while ((alert = g_queue_pop_head (&priv->alerts)) != NULL) { + g_signal_handlers_disconnect_by_func ( + alert, shell_alert_response_cb, object); + g_object_unref (alert); + } + if (priv->startup_view != NULL) { g_free (priv->startup_view); priv->startup_view = NULL; |