From e7150f51635e89d8c4f6826e3683a447741ddfcb Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 7 May 2000 07:18:55 +0000 Subject: Fix brainos so that the application quits after closing all the windows (shell views). svn path=/trunk/; revision=2865 --- shell/e-shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/e-shell.c') 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]); } -- cgit