aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index f50dcb685b..fc090204e0 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1411,8 +1411,9 @@ e_shell_view_construct (EShellView *shell_view,
GTK_SIGNAL_FUNC (shell_line_status_changed_cb), shell_view,
GTK_OBJECT (shell_view));
- gtk_signal_connect (GTK_OBJECT (e_shell_get_storage_set (shell)), "removed_folder",
- GTK_SIGNAL_FUNC (storage_set_removed_folder_callback), shell_view);
+ gtk_signal_connect_while_alive (GTK_OBJECT (e_shell_get_storage_set (shell)), "removed_folder",
+ GTK_SIGNAL_FUNC (storage_set_removed_folder_callback), shell_view,
+ GTK_OBJECT (shell_view));
e_shell_user_creatable_items_handler_setup_menus (e_shell_get_user_creatable_items_handler (priv->shell),
shell_view);