aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.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/main.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/main.c')
-rw-r--r--shell/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index f31f460878..57e3d6cea0 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -56,7 +56,9 @@ extern char *evolution_debug_log;
static void
no_views_left_cb (EShell *shell, gpointer data)
{
- e_shell_quit (shell);
+ /* FIXME: This is wrong. We should exit only when the shell is
+ destroyed. But refcounting is broken at present, so this is a
+ reasonable workaround for now. */
gtk_main_quit ();
}