aboutsummaryrefslogtreecommitdiffstats
path: root/src/session.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-09-24 06:37:09 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-24 06:37:09 +0800
commit9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd (patch)
tree28e9809d4583d0aae6813075b0be6c249f2cb1b6 /src/session.c
parentca341ca5a6b69c395850ae32b55d7550cf8e1a1d (diff)
downloadgsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.gz
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.bz2
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.lz
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.xz
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.tar.zst
gsoc2013-epiphany-9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd.zip
Save session when windows are removed
2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/session.c: (session_remove_window): Save session when windows are removed
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.c b/src/session.c
index 647d9f939..40daf1b66 100644
--- a/src/session.c
+++ b/src/session.c
@@ -688,6 +688,8 @@ session_remove_window (Session *session,
g_object_unref (window);
+ session_save (session, SESSION_CRASHED);
+
/* autodestroy of the session, necessay to avoid
* conflicts with the nautilus view */
if (session->priv->windows == NULL)