aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.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/main.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/main.c')
-rw-r--r--shell/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/main.c b/shell/main.c
index 1bf97e8c74..589281a3d1 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -31,8 +31,7 @@
static void
-shell_destroy_cb (GtkObject *object,
- gpointer data)
+no_views_left_cb (EShell *shell, gpointer data)
{
gtk_main_quit ();
}
@@ -103,8 +102,8 @@ main (int argc, char **argv)
exit (1);
}
- gtk_signal_connect (GTK_OBJECT (shell), "destroy",
- GTK_SIGNAL_FUNC (shell_destroy_cb), NULL);
+ gtk_signal_connect (GTK_OBJECT (shell), "no_views_left",
+ GTK_SIGNAL_FUNC (no_views_left_cb), NULL);
e_shell_new_view (shell, NULL);