aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-25 15:33:38 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-25 15:33:38 +0800
commit18f0b76b71d52376526dcd6cfc4f057c8d324084 (patch)
tree9e27e95336e5aac5a1290ee47c56871df0756433 /shell/e-shell-view.c
parent77ba5399031de0aba831e267a4b6ed6f0d51ca6c (diff)
downloadgsoc2013-evolution-18f0b76b71d52376526dcd6cfc4f057c8d324084.tar.gz
gsoc2013-evolution-18f0b76b71d52376526dcd6cfc4f057c8d324084.tar.zst
gsoc2013-evolution-18f0b76b71d52376526dcd6cfc4f057c8d324084.zip
Fix a bug that could happen when a shell view would be destroyed and
the unread message count would change in some folder. svn path=/trunk/; revision=7803
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index b8b3aad980..27759f2fb1 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -938,8 +938,8 @@ e_shell_view_construct (EShellView *shell_view,
priv->shell = shell;
- gtk_signal_connect (GTK_OBJECT (e_shell_get_storage_set (priv->shell)), "updated_folder",
- updated_folder_cb, shell_view);
+ gtk_signal_connect_while_alive (GTK_OBJECT (e_shell_get_storage_set (priv->shell)), "updated_folder",
+ updated_folder_cb, shell_view, GTK_OBJECT (shell_view));
container = bonobo_ui_container_new ();
bonobo_ui_container_set_win (container, BONOBO_WINDOW (shell_view));