aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-07 15:18:55 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-07 15:18:55 +0800
commite7150f51635e89d8c4f6826e3683a447741ddfcb (patch)
treed045942987a34ac942edc39f680d65d83b7aece7 /shell/e-shell.c
parent7a8a7162aad36d2e3a360dcb3adcc62964ed2f28 (diff)
downloadgsoc2013-evolution-e7150f51635e89d8c4f6826e3683a447741ddfcb.tar
gsoc2013-evolution-e7150f51635e89d8c4f6826e3683a447741ddfcb.tar.gz
gsoc2013-evolution-e7150f51635e89d8c4f6826e3683a447741ddfcb.tar.bz2
gsoc2013-evolution-e7150f51635e89d8c4f6826e3683a447741ddfcb.tar.lz
gsoc2013-evolution-e7150f51635e89d8c4f6826e3683a447741ddfcb.tar.xz
gsoc2013-evolution-e7150f51635e89d8c4f6826e3683a447741ddfcb.tar.zst
gsoc2013-evolution-e7150f51635e89d8c4f6826e3683a447741ddfcb.zip
Fix brainos so that the application quits after closing all the
windows (shell views). svn path=/trunk/; revision=2865
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 3e5b9038f9..f69606ab18 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -102,10 +102,10 @@ view_destroy_cb (GtkObject *object,
g_assert (E_IS_SHELL_VIEW (object));
shell = E_SHELL (data);
- shell->priv->views = g_list_remove (shell->priv->views, shell);
+ shell->priv->views = g_list_remove (shell->priv->views, object);
if (shell->priv->views == NULL)
- gtk_signal_emit (GTK_OBJECT (object), signals[NO_VIEWS_LEFT]);
+ gtk_signal_emit (GTK_OBJECT (shell), signals[NO_VIEWS_LEFT]);
}