aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-25 12:41:32 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-25 12:41:32 +0800
commit8a77a47f19e26c32eac2a2d0407d648bf3d72a73 (patch)
tree83e34c4e2f2c6e42f929c8565f737ba6817aaae3 /shell/e-shell-view-menu.c
parent5cd485fec1d234526a8027da736e8c13aa9e6ac2 (diff)
downloadgsoc2013-evolution-8a77a47f19e26c32eac2a2d0407d648bf3d72a73.tar
gsoc2013-evolution-8a77a47f19e26c32eac2a2d0407d648bf3d72a73.tar.gz
gsoc2013-evolution-8a77a47f19e26c32eac2a2d0407d648bf3d72a73.tar.bz2
gsoc2013-evolution-8a77a47f19e26c32eac2a2d0407d648bf3d72a73.tar.lz
gsoc2013-evolution-8a77a47f19e26c32eac2a2d0407d648bf3d72a73.tar.xz
gsoc2013-evolution-8a77a47f19e26c32eac2a2d0407d648bf3d72a73.tar.zst
gsoc2013-evolution-8a77a47f19e26c32eac2a2d0407d648bf3d72a73.zip
Remove the ugliness that was `e_shell_quit()'; implement an
`e_shell_destroy_all_views()' function instead, and get the "Exit" menu item to use that instead. svn path=/trunk/; revision=10467
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 5f314ade50..f4a8eb35ec 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -159,9 +159,7 @@ command_quit (BonoboUIComponent *uih,
shell_view = E_SHELL_VIEW (data);
shell = e_shell_view_get_shell (shell_view);
- e_shell_quit (shell);
-
- gtk_main_quit ();
+ e_shell_destroy_all_views (shell);
}
#if 0